ci: update PHP versions master
authorMichael Wallner <mike@php.net>
Thu, 12 Oct 2023 07:40:17 +0000 (09:40 +0200)
committerMichael Wallner <mike@php.net>
Thu, 12 Oct 2023 07:40:17 +0000 (09:40 +0200)
.github/workflows/ci.yml
package.xml
php_apfd.h
scripts/gen_github_workflow_ci.php

index 2ed0b9cf1b6d7d2e6ee6a3c3b307d7f152b6268b..d962fc8c67a673e5ac59da024aa730c77736e158 100644 (file)
@@ -169,6 +169,60 @@ jobs:
         run: |
           make -f scripts/ci/Makefile test
 
+  old-matrix-6:
+    name: old-matrix-6
+    env:
+      PHP: "8.0"
+      enable_debug: "yes"
+      enable_maintainer_zts: "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=apfd
+      - name: Test
+        run: |
+          make -f scripts/ci/Makefile test
+
+  old-matrix-7:
+    name: old-matrix-7
+    env:
+      PHP: "8.1"
+      enable_debug: "yes"
+      enable_maintainer_zts: "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=apfd
+      - name: Test
+        run: |
+          make -f scripts/ci/Makefile test
+
   master-0:
     name: master-0
     continue-on-error: true
@@ -200,7 +254,7 @@ jobs:
   cur-dbg-zts-0:
     name: cur-dbg-zts-0
     env:
-      PHP: "8.0"
+      PHP: "8.2"
       enable_debug: "yes"
       enable_zts: "yes"
     runs-on: ubuntu-20.04
@@ -227,7 +281,7 @@ jobs:
   cur-dbg-zts-1:
     name: cur-dbg-zts-1
     env:
-      PHP: "8.0"
+      PHP: "8.2"
       enable_debug: "no"
       enable_zts: "yes"
     runs-on: ubuntu-20.04
@@ -254,7 +308,7 @@ jobs:
   cur-dbg-zts-2:
     name: cur-dbg-zts-2
     env:
-      PHP: "8.0"
+      PHP: "8.2"
       enable_debug: "yes"
       enable_zts: "no"
     runs-on: ubuntu-20.04
@@ -281,7 +335,7 @@ jobs:
   cur-dbg-zts-3:
     name: cur-dbg-zts-3
     env:
-      PHP: "8.0"
+      PHP: "8.2"
       enable_debug: "no"
       enable_zts: "no"
     runs-on: ubuntu-20.04
@@ -310,7 +364,7 @@ jobs:
     env:
       CFLAGS: "-O0 -g --coverage"
       CXXFLAGS: "-O0 -g --coverage"
-      PHP: "8.0"
+      PHP: "8.2"
     runs-on: ubuntu-20.04
     steps:
       - uses: actions/checkout@v2
index 76a93e71aae2243d12c4edfa29e088897da7225c..8986ba86a6f00a351b441ef997522aaee4e98cf7 100644 (file)
@@ -24,9 +24,9 @@ This extension does not provide any INI entries, constants, functions or classes
   <email>mike@php.net</email>
   <active>yes</active>
  </lead>
- <date>2020-09-21</date>
+ <date>2021-10-04</date>
  <version>
-  <release>1.0.2</release>
+  <release>1.0.3</release>
   <api>1.0.0</api>
  </version>
  <stability>
@@ -35,8 +35,8 @@ This extension does not provide any INI entries, constants, functions or classes
  </stability>
  <license uri="http://copyfree.org/content/standard/licenses/2bsd/license.txt">BSD-2-Clause</license>
  <notes><![CDATA[
-* PHP-7.2+ compatibility
-* PHP-8.0 compatiblity
+* Fix tests for PHP-8.1
+* Improve phpinfo() output
 ]]></notes>
  <contents>
   <dir name="/">
@@ -56,6 +56,7 @@ This extension does not provide any INI entries, constants, functions or classes
      <file role="test" name="001.phpt"/>
      <file role="test" name="002.phpt"/>
      <file role="test" name="003.phpt"/>
+                <file role="test" name="json_post001.phpt"/>
    </dir>
   </dir>
  </contents>
index e98f5be85f46a9f195d0ff86719a934da24b6fca..d9fab114aa22375b4f0a4232a497da5567135d34 100644 (file)
@@ -16,7 +16,7 @@
 extern zend_module_entry apfd_module_entry;
 #define phpext_apfd_ptr &apfd_module_entry
 
-#define PHP_APFD_VERSION "1.0.2"
+#define PHP_APFD_VERSION "1.0.3"
 
 #ifdef PHP_WIN32
 #      define PHP_APFD_API __declspec(dllexport)
index fd99ee3a5e6f51ed78aa43d00d4b3430cdf0b130..1212e0fe0be9ba12d99868b91bc6b0e72652fedb 100755 (executable)
@@ -10,14 +10,14 @@ on:
 jobs:
 <?php
 
-$cur = "8.0";
+$cur = "8.2";
 $gen = include __DIR__ . "/ci/gen-matrix.php";
 $job = $gen->github([
 "old-matrix" => [
-       "PHP" => ["5.6", "7.0", "7.1", "7.2", "7.3", "7.4"],
+       "PHP" => ["5.6", "7.0", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1"],
        "enable_debug" => "yes",
        "enable_maintainer_zts" => "yes",
-], 
+],
 "master" => [
        "PHP" => "master",
        "enable_debug" => "yes",