diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d321785..99047e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -232,10 +232,38 @@ jobs: run: | make -f scripts/ci/Makefile test - cur-none-0: - name: php-8.2-nodebug-nozts + cur-matrix-2: + name: php-8.2-debug-zts env: PHP: "8.2" + enable_debug: "yes" + enable_zts: "yes" + enable_session: "yes" + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + with: + submodules: true + - name: Install + run: | + sudo apt-get install -y \ + php-cli \ + php-pear \ + re2c + - name: Prepare + run: | + make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php + - name: Build + run: | + make -f scripts/ci/Makefile ext PECL=msgpack + - name: Test + run: | + make -f scripts/ci/Makefile test + + cur-none-0: + name: php-8.3-nodebug-nozts + env: + PHP: "8.3" enable_session: "no" runs-on: ubuntu-20.04 steps: @@ -259,9 +287,9 @@ jobs: make -f scripts/ci/Makefile test cur-dbg-zts-0: - name: php-8.2-debug-zts + name: php-8.3-debug-zts env: - PHP: "8.2" + PHP: "8.3" enable_debug: "yes" enable_zts: "yes" enable_session: "yes" @@ -287,9 +315,9 @@ jobs: make -f scripts/ci/Makefile test cur-dbg-zts-1: - name: php-8.2-nodebug-zts + name: php-8.3-nodebug-zts env: - PHP: "8.2" + PHP: "8.3" enable_debug: "no" enable_zts: "yes" enable_session: "yes" @@ -315,9 +343,9 @@ jobs: make -f scripts/ci/Makefile test cur-dbg-zts-2: - name: php-8.2-debug-nozts + name: php-8.3-debug-nozts env: - PHP: "8.2" + PHP: "8.3" enable_debug: "yes" enable_zts: "no" enable_session: "yes" @@ -343,9 +371,9 @@ jobs: make -f scripts/ci/Makefile test cur-dbg-zts-3: - name: php-8.2-nodebug-nozts + name: php-8.3-nodebug-nozts env: - PHP: "8.2" + PHP: "8.3" enable_debug: "no" enable_zts: "no" enable_session: "yes" @@ -371,11 +399,11 @@ jobs: make -f scripts/ci/Makefile test cur-cov-0: - name: php-8.2-nodebug-nozts + name: php-8.3-nodebug-nozts env: CFLAGS: "-O0 -g --coverage" CXXFLAGS: "-O0 -g --coverage" - PHP: "8.2" + PHP: "8.3" enable_session: "yes" runs-on: ubuntu-20.04 steps: diff --git a/package.xml b/package.xml index d847f40..e743499 100644 --- a/package.xml +++ b/package.xml @@ -22,10 +22,10 @@ mike@php.net yes - 2023-06-02 + 2024-08-30 - 2.2.0 - 2.2.0 + 3.0.0 + 3.0.0 stable @@ -33,12 +33,9 @@ 3-Clause-BSD @@ -191,6 +188,7 @@ No changes from RC2. + @@ -205,6 +203,7 @@ No changes from RC2. + diff --git a/php_msgpack.h b/php_msgpack.h index 01f979b..e33b053 100644 --- a/php_msgpack.h +++ b/php_msgpack.h @@ -3,7 +3,7 @@ #include "Zend/zend_smart_str.h" /* for smart_string */ -#define PHP_MSGPACK_VERSION "2.2.0" +#define PHP_MSGPACK_VERSION "3.0.0" extern zend_module_entry msgpack_module_entry; #define phpext_msgpack_ptr &msgpack_module_entry diff --git a/scripts/gen_github_workflow_ci.php b/scripts/gen_github_workflow_ci.php index 9e41fe0..3a6fd25 100755 --- a/scripts/gen_github_workflow_ci.php +++ b/scripts/gen_github_workflow_ci.php @@ -24,7 +24,7 @@ function jobname(string $id, array $env) : string { return sprintf("php-%s-%s-%s", $env["PHP"], yesno($env, "debug"), yesno($env, "zts")); } $gen = include __DIR__ . "/ci/gen-matrix.php"; -$cur = "8.2"; +$cur = "8.3"; $job = $gen->github([ "old-matrix" => [ // most useful for all additional versions except current @@ -42,7 +42,7 @@ function jobname(string $id, array $env) : string { ], "cur-matrix" => [ // most useful for all additional versions except current - "PHP" => ["8.0", "8.1"], + "PHP" => ["8.0", "8.1", "8.2"], "enable_debug" => "yes", "enable_zts" => "yes", "enable_session" => "yes", diff --git a/tests/enum001.phpt b/tests/enum001.phpt new file mode 100644 index 0000000..efcf87f --- /dev/null +++ b/tests/enum001.phpt @@ -0,0 +1,19 @@ +--TEST-- +Enums +--FILE-- + +DONE +--EXPECT-- +Test +bool(true) +DONE