mirror of
https://github.com/awslabs/aws-crt-php.git
synced 2026-08-18 18:13:09 +00:00
* Restored FFI to working order * Disabled incompatible tests, fixed string conversion * Use extension_loaded instead of checking PHP version * Added better checks for FFI * Do not build FFI deps if no FFI is present
11 lines
145 B
Bash
Executable File
11 lines
145 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -ex
|
|
|
|
HAS_FFI=$(php -m | grep FFI | wc -l | xargs)
|
|
|
|
make test-extension
|
|
|
|
if [[ $HAS_FFI -gt 0 ]]; then
|
|
make test-ffi
|
|
fi |