Commit Graph
44 Commits
Author SHA1 Message Date
Dengke Tang 7b1909a88b using v2? 2023-02-28 17:17:38 -08:00
Dengke Tang e4ae7108c5 test 2023-02-28 17:14:55 -08:00
Dengke Tang 071de01f6d why git describe doesn't work 2023-02-28 16:18:46 -08:00
Dengke Tang 1226b906c6 more 2023-02-28 16:16:27 -08:00
Dengke Tang 21b8f0052a test 2023-02-28 16:08:24 -08:00
Dengke Tang b5fec52be1 automate the release process 2023-02-28 16:04:49 -08:00
Dengke Tang 6bc427dd4c update comments 2023-02-28 11:25:02 -08:00
Dengke Tang a9ab031603 try to not force the special version of phpunit 2023-02-28 11:07:07 -08:00
Dengke Tang a63ac28fa5 try CMD to run multiple lines of code 2023-02-28 10:53:25 -08:00
Dengke Tang b4d352cc18 Merge branch 'native-extension-rewrite' of github.com:awslabs/aws-crt-php into native-extension-rewrite 2023-02-27 15:33:19 -08:00
Dengke Tang ff20f95232 Rewrite script (#87) 2023-02-27 15:33:00 -08:00
Dengke Tang c2f584a1ea remove release.yml and leave it as todo to follow up quick 2023-02-27 15:21:49 -08:00
Dengke Tang e361f03140 Windows ci fix (#86) 2023-02-23 22:46:12 -08:00
Dengke Tang 8c66121b2f I don't know 2023-02-23 17:45:11 -08:00
Dengke Tang ce4a00c264 I don't know 2023-02-23 17:14:53 -08:00
Dengke Tang 7c12d40536 get the right php 2023-02-23 16:47:03 -08:00
Dengke Tang 72c24d9ded generate php-win.ini 2023-02-23 16:24:35 -08:00
Dengke Tang 3ad39d5f3a fine 2023-02-23 16:08:35 -08:00
Dengke Tang babc4bf330 one more test 2023-02-23 15:54:23 -08:00
Dengke Tang 26ab397cd5 windows CI 2023-02-23 14:54:30 -08:00
Dengke Tang 02a6591a03 trivial 2023-02-22 15:12:41 -08:00
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 1f6f81412b create release action when we cut a new release 2023-02-22 13:31:11 -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 5eaaa70cf1 Added aws_error* functions to native extension (#12)
* Added aws_crt_error_str and test, removed awscrt_version test function

* Added aws_crt_error_name

* Added aws_crt_error_debug_str

* Use PHP's own tools to generate arginfo

* Only re-generate arginfo on php7+

* Added a definition for ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX for php5

* Ignore generated files for clang-format
2021-02-24 10:16:32 -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
KaibaLopez faa2348d47 issue templates and stale bot action 2020-09-29 13:01:08 -07:00