Restored FFI to working order (#28)

* 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
This commit is contained in:
Justin Boswell
2021-06-16 11:26:31 -07:00
committed by GitHub
parent d2546e616d
commit f6f9a6b349
12 changed files with 172 additions and 20 deletions
+3 -1
View File
@@ -29,7 +29,9 @@
]
},
"scripts": {
"test": "@php -d extension=modules/awscrt.so vendor/bin/phpunit tests"
"test": "@php -d extension=modules/awscrt.so vendor/bin/phpunit tests",
"test-extension": "@php -d extension=modules/awscrt.so vendor/bin/phpunit tests",
"test-ffi": "@php vendor/bin/phpunit tests"
},
"license": "Apache-2.0"
}