Commit Graph
20 Commits
Author SHA1 Message Date
Dengke Tang a7e8407ff2 use mac to release 2023-02-22 15:08:17 -08:00
Dengke Tang 279f5d25ed just make sure it builds 2023-02-22 15:06:47 -08:00
Dengke Tang 30155092b2 build and test as well 2023-02-22 14:54:13 -08:00
Dengke Tang b6a3a29872 use mac 2023-02-22 14:31:26 -08:00
Dengke Tang 093cf4eb0d why not find 2023-02-22 14:23:53 -08:00
Dengke Tang f183523de4 make a github action to test pecl before release 2023-02-22 14:13:37 -08:00
Dengke Tang f6314a23e9 update the script path from ci 2023-02-22 11:52:08 -08:00
Dengke Tang 9ff650e6d9 clean up 2023-02-21 21:30:06 -08:00
Dengke Tang 17b6a93ced run test 2023-02-21 21:17:07 -08:00
Dengke Tang 1a0efbfa4d try to just use make test? 2023-02-21 21:13:05 -08:00
Dengke Tang 82abc2d4da make test after the composer nonsense 2023-02-21 19:01:11 -08:00
Dengke Tang 31a5785c2d load extension before run composer 2023-02-21 18:53:50 -08:00
Michael Graeb 541b3c8952 Fix it so CI runs on branches with '/' in name (#62) 2022-04-15 11:10:11 -07:00
Michael Graeb 09a84b7a52 Update phpunit for security fixes (#61) 2022-04-06 16:31:22 -07:00
Justin Boswell 2f8d2ee756 Made PHP extension compile with openssl by default (#41)
* 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
2021-08-30 13:36:54 -07:00
Justin Boswell 7d47316a7d Implemented async callbacks to PHP regardless of thread model, Sigv4 signing (#24)
* Updated to get latest aws-crt-ffi

* Added implementation for signing_result

* Added main thread queue and callback queueing to signing process

* Updated to get support for date on signing_config_aws

* added date support to SigningConfigAWS, fixed up reference issues on http message signing

* Broke C code into separate files, moved common stuff to php_aws_crt.h

* Use a unity build to make PHP do the right thing with our lib

* Updated aws-crt-ffi to v0.1.3 to get sigv4 changes

* Added CRT::isAvailable for safe runtime detection of CRT

* Fixed up test resource safety, added tests to prove it

* Added CI jobs for every version of PHP on linux (#26)
2021-06-08 00:34:42 +00:00
Justin Boswell 9c9422c21f HTTP message API (#19)
* HTTP message API

* Added MacOS CI

* Grabbed fixes for mac from aws-crt-ffi
2021-03-25 13:14:07 -04:00
Justin Boswell 9171857448 Updated CRT library, test process, EventLoopGroup API updates (#16)
* Updated to latest aws-crt-ffi, updated EventLoopGroup/options init

* Removed test-ci target, just use test for everything now

* Added event_loop_group API to CRT/stubs

* Removed headers (all generated) from format-check

* Added the ability to force extension vs FFI

* make test will now trigger composer run test/phpunit, and force tests with both FFI and extension

* Updated builder version, removed redundant php7 test run

* Removed type annotations that anger php5, limited backends on php5
2021-03-12 11:47:55 -08:00
Justin Boswell aee57a929d 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
2021-02-15 09:47:32 -08:00
Justin Boswell f090511213 Initial Tests & CI (#5)
* Added awscrt_version() and test for it

* Added builder.json for CI

* Added github actions

* Added format-check.sh

* Force php5.6 on ubuntu

* Updated submodules
2021-01-13 13:33:30 -08:00