ci: update PHP versions master
authorMichael Wallner <mike@php.net>
Wed, 25 Sep 2024 18:19:36 +0000 (20:19 +0200)
committerMichael Wallner <mike@php.net>
Wed, 25 Sep 2024 18:20:55 +0000 (20:20 +0200)
.github/workflows/ci.yml
scripts/gen_github_workflow_ci.php

index fd250c617ad438e5a8f8f036ad1423a8aabed55e..68bd60a22f89f1dabb6748acd7a69e6e583ad35e 100644 (file)
@@ -8,9 +8,9 @@ on:
 
 jobs:
   old-matrix-0:
 
 jobs:
   old-matrix-0:
-    name: "old-matrix-0 (7.0)"
+    name: "old-matrix-0 (7.4)"
     env:
     env:
-      PHP: "7.0"
+      PHP: "7.4"
       enable_debug: "yes"
       enable_maintainer_zts: "yes"
       enable_json: "yes"
       enable_debug: "yes"
       enable_maintainer_zts: "yes"
       enable_json: "yes"
@@ -44,9 +44,9 @@ jobs:
           make -f scripts/ci/Makefile test
 
   old-matrix-1:
           make -f scripts/ci/Makefile test
 
   old-matrix-1:
-    name: "old-matrix-1 (7.1)"
+    name: "old-matrix-1 (8.0)"
     env:
     env:
-      PHP: "7.1"
+      PHP: "8.0"
       enable_debug: "yes"
       enable_maintainer_zts: "yes"
       enable_json: "yes"
       enable_debug: "yes"
       enable_maintainer_zts: "yes"
       enable_json: "yes"
@@ -80,9 +80,9 @@ jobs:
           make -f scripts/ci/Makefile test
 
   old-matrix-2:
           make -f scripts/ci/Makefile test
 
   old-matrix-2:
-    name: "old-matrix-2 (7.2)"
+    name: "old-matrix-2 (8.1)"
     env:
     env:
-      PHP: "7.2"
+      PHP: "8.1"
       enable_debug: "yes"
       enable_maintainer_zts: "yes"
       enable_json: "yes"
       enable_debug: "yes"
       enable_maintainer_zts: "yes"
       enable_json: "yes"
@@ -116,117 +116,9 @@ jobs:
           make -f scripts/ci/Makefile test
 
   old-matrix-3:
           make -f scripts/ci/Makefile test
 
   old-matrix-3:
-    name: "old-matrix-3 (7.3)"
-    env:
-      PHP: "7.3"
-      enable_debug: "yes"
-      enable_maintainer_zts: "yes"
-      enable_json: "yes"
-      PQ_DSN: "postgres:///runner"
-    runs-on: ubuntu-22.04
-    steps:
-      - uses: actions/checkout@v2
-        with:
-          submodules: true
-      - name: Install
-        run: |
-          sudo apt-get install -y \
-            php-cli \
-            php-pear \
-            libpq-dev \
-            re2c
-      - name: Prepare
-        run: |
-          make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
-          make -f scripts/ci/Makefile pecl PECL=m6w6/ext-raphf.git:raphf:master
-      - name: Build
-        run: |
-          make -f scripts/ci/Makefile ext PECL=pq
-      - name: Prepare Test
-        run: |
-          sudo systemctl start postgresql
-          sudo -u postgres createuser --login runner
-          sudo -u postgres createdb -O runner runner
-      - name: Test
-        run: |
-          make -f scripts/ci/Makefile test
-
-  old-matrix-4:
-    name: "old-matrix-4 (7.4)"
+    name: "old-matrix-3 (8.2)"
     env:
     env:
-      PHP: "7.4"
-      enable_debug: "yes"
-      enable_maintainer_zts: "yes"
-      enable_json: "yes"
-      PQ_DSN: "postgres:///runner"
-    runs-on: ubuntu-22.04
-    steps:
-      - uses: actions/checkout@v2
-        with:
-          submodules: true
-      - name: Install
-        run: |
-          sudo apt-get install -y \
-            php-cli \
-            php-pear \
-            libpq-dev \
-            re2c
-      - name: Prepare
-        run: |
-          make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
-          make -f scripts/ci/Makefile pecl PECL=m6w6/ext-raphf.git:raphf:master
-      - name: Build
-        run: |
-          make -f scripts/ci/Makefile ext PECL=pq
-      - name: Prepare Test
-        run: |
-          sudo systemctl start postgresql
-          sudo -u postgres createuser --login runner
-          sudo -u postgres createdb -O runner runner
-      - name: Test
-        run: |
-          make -f scripts/ci/Makefile test
-
-  old-matrix-5:
-    name: "old-matrix-5 (8.0)"
-    env:
-      PHP: "8.0"
-      enable_debug: "yes"
-      enable_maintainer_zts: "yes"
-      enable_json: "yes"
-      PQ_DSN: "postgres:///runner"
-    runs-on: ubuntu-22.04
-    steps:
-      - uses: actions/checkout@v2
-        with:
-          submodules: true
-      - name: Install
-        run: |
-          sudo apt-get install -y \
-            php-cli \
-            php-pear \
-            libpq-dev \
-            re2c
-      - name: Prepare
-        run: |
-          make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
-          make -f scripts/ci/Makefile pecl PECL=m6w6/ext-raphf.git:raphf:master
-      - name: Build
-        run: |
-          make -f scripts/ci/Makefile ext PECL=pq
-      - name: Prepare Test
-        run: |
-          sudo systemctl start postgresql
-          sudo -u postgres createuser --login runner
-          sudo -u postgres createdb -O runner runner
-      - name: Test
-        run: |
-          make -f scripts/ci/Makefile test
-
-  old-matrix-6:
-    name: "old-matrix-6 (8.1)"
-    env:
-      PHP: "8.1"
+      PHP: "8.2"
       enable_debug: "yes"
       enable_maintainer_zts: "yes"
       enable_json: "yes"
       enable_debug: "yes"
       enable_maintainer_zts: "yes"
       enable_json: "yes"
@@ -296,9 +188,9 @@ jobs:
           make -f scripts/ci/Makefile test
 
   cur-dbg-zts-0:
           make -f scripts/ci/Makefile test
 
   cur-dbg-zts-0:
-    name: "cur-dbg-zts-0 (8.2)"
+    name: "cur-dbg-zts-0 (8.3)"
     env:
     env:
-      PHP: "8.2"
+      PHP: "8.3"
       enable_debug: "yes"
       enable_zts: "yes"
       PQ_DSN: "postgres:///runner"
       enable_debug: "yes"
       enable_zts: "yes"
       PQ_DSN: "postgres:///runner"
@@ -331,9 +223,9 @@ jobs:
           make -f scripts/ci/Makefile test
 
   cur-dbg-zts-1:
           make -f scripts/ci/Makefile test
 
   cur-dbg-zts-1:
-    name: "cur-dbg-zts-1 (8.2)"
+    name: "cur-dbg-zts-1 (8.3)"
     env:
     env:
-      PHP: "8.2"
+      PHP: "8.3"
       enable_debug: "no"
       enable_zts: "yes"
       PQ_DSN: "postgres:///runner"
       enable_debug: "no"
       enable_zts: "yes"
       PQ_DSN: "postgres:///runner"
@@ -366,9 +258,9 @@ jobs:
           make -f scripts/ci/Makefile test
 
   cur-dbg-zts-2:
           make -f scripts/ci/Makefile test
 
   cur-dbg-zts-2:
-    name: "cur-dbg-zts-2 (8.2)"
+    name: "cur-dbg-zts-2 (8.3)"
     env:
     env:
-      PHP: "8.2"
+      PHP: "8.3"
       enable_debug: "yes"
       enable_zts: "no"
       PQ_DSN: "postgres:///runner"
       enable_debug: "yes"
       enable_zts: "no"
       PQ_DSN: "postgres:///runner"
@@ -401,9 +293,9 @@ jobs:
           make -f scripts/ci/Makefile test
 
   cur-dbg-zts-3:
           make -f scripts/ci/Makefile test
 
   cur-dbg-zts-3:
-    name: "cur-dbg-zts-3 (8.2)"
+    name: "cur-dbg-zts-3 (8.3)"
     env:
     env:
-      PHP: "8.2"
+      PHP: "8.3"
       enable_debug: "no"
       enable_zts: "no"
       PQ_DSN: "postgres:///runner"
       enable_debug: "no"
       enable_zts: "no"
       PQ_DSN: "postgres:///runner"
@@ -436,11 +328,11 @@ jobs:
           make -f scripts/ci/Makefile test
 
   cur-cov-0:
           make -f scripts/ci/Makefile test
 
   cur-cov-0:
-    name: "cur-cov-0 (8.2)"
+    name: "cur-cov-0 (8.3)"
     env:
       CFLAGS: "-O0 -g --coverage"
       CXXFLAGS: "-O0 -g --coverage"
     env:
       CFLAGS: "-O0 -g --coverage"
       CXXFLAGS: "-O0 -g --coverage"
-      PHP: "8.2"
+      PHP: "8.3"
       PQ_DSN: "postgres:///runner"
     runs-on: ubuntu-22.04
     steps:
       PQ_DSN: "postgres:///runner"
     runs-on: ubuntu-22.04
     steps:
index 78d770a0fc33ea4e43c8165c32c768f6326b7e26..1154db5a4aa0bc8b6c9ccddc4a353740f5768231 100755 (executable)
@@ -11,10 +11,10 @@ jobs:
 <?php
 
 $gen = include __DIR__ . "/ci/gen-matrix.php";
 <?php
 
 $gen = include __DIR__ . "/ci/gen-matrix.php";
-$cur = "8.2";
+$cur = "8.3";
 $job = $gen->github([
 "old-matrix" => [
 $job = $gen->github([
 "old-matrix" => [
-       "PHP" => ["7.0", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1"],
+       "PHP" => ["7.4", "8.0", "8.1", "8.2"],
        "enable_debug" => "yes",
        "enable_maintainer_zts" => "yes",
        "enable_json" => "yes",
        "enable_debug" => "yes",
        "enable_maintainer_zts" => "yes",
        "enable_json" => "yes",