Added test-ffi target, use it in CI (#9)

* Added test-ffi target, use it in CI

* Added clang-format config, fixed RETURN_STRING API mismatch

* Skip installing php and packages on the PHP docker images

* Removed al2 job that was never going to work, and compiler tests

* Fixed basic test for extension loading

* Cleaned up lib structure, fixed tests

* use test-ci target to conditionally test in GitHub

* Use v0.8.1 of builder
This commit is contained in:
Justin Boswell
2021-02-15 09:47:32 -08:00
committed by GitHub
parent 7b5ccfd55a
commit aee57a929d
18 changed files with 354 additions and 232 deletions
+11 -7
View File
@@ -1,9 +1,8 @@
{
"name": "aws/awscrt",
"name": "aws/crt",
"description": "AWS Common Runtime for PHP",
"type": "library",
"require": {
},
"require-dev": {
"phpunit/phpunit": "^5"
@@ -11,16 +10,21 @@
"conflict": {
"phpunit/php-timer": ">=2"
},
"autoload-dev": {
"autoload": {
"classmap": [
"lib/"
],
"psr-4": {
"AWS\\": "lib/AWS"
}
},
"autoload-dev": {
"classmap": [
"lib/tests/"
]
},
"autoload": {
"files": ["lib/preload.php"]
},
"scripts": {
"test": "phpunit --bootstrap lib/lib.php"
"test": "phpunit lib/tests"
},
"license": "Apache-2.0",
"authors": [