mirror of
https://github.com/awslabs/aws-crt-php.git
synced 2026-08-17 17:47:12 +00:00
* Made PHP extension compile with openssl * Use catchsegv to dump a callstack * Updated to use aws_crt_crypto_share() * Much faster builds by making cmake parallel if supported * Make sure all CRT threads shutdown prior to cleanup * USE_OPENSSL should be the path to openssldir * Updated to aws-crt-ffi v0.2.4
19 lines
272 B
Bash
Executable File
19 lines
272 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -ex
|
|
|
|
launcher=
|
|
if command -v catchsegv; then
|
|
launcher=catchsegv
|
|
fi
|
|
|
|
if [ -z $PHP_BINARY ]; then
|
|
PHP_BINARY=$(which php)
|
|
fi
|
|
|
|
if [ ! -d vendor ]; then
|
|
composer update
|
|
fi
|
|
|
|
$launcher $PHP_BINARY -c php.ini vendor/bin/phpunit tests --debug
|