Skip to content

Commit e20a54c

Browse files
committed
ci: update PHP versions
1 parent 3a8e04f commit e20a54c

File tree

2 files changed

+12
-40
lines changed

2 files changed

+12
-40
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
old-matrix-1:
3939
name: old-matrix-1
4040
env:
41-
PHP: "7.0"
41+
PHP: "7.4"
4242
enable_debug: "yes"
4343
enable_maintainer_zts: "yes"
4444
enable_json: "yes"
@@ -66,7 +66,7 @@ jobs:
6666
old-matrix-2:
6767
name: old-matrix-2
6868
env:
69-
PHP: "7.1"
69+
PHP: "8.0"
7070
enable_debug: "yes"
7171
enable_maintainer_zts: "yes"
7272
enable_json: "yes"
@@ -94,7 +94,7 @@ jobs:
9494
old-matrix-3:
9595
name: old-matrix-3
9696
env:
97-
PHP: "7.2"
97+
PHP: "8.1"
9898
enable_debug: "yes"
9999
enable_maintainer_zts: "yes"
100100
enable_json: "yes"
@@ -122,35 +122,7 @@ jobs:
122122
old-matrix-4:
123123
name: old-matrix-4
124124
env:
125-
PHP: "7.3"
126-
enable_debug: "yes"
127-
enable_maintainer_zts: "yes"
128-
enable_json: "yes"
129-
runs-on: ubuntu-20.04
130-
steps:
131-
- uses: actions/checkout@v2
132-
with:
133-
submodules: true
134-
- name: Install
135-
run: |
136-
sudo apt-get install -y \
137-
php-cli \
138-
php-pear \
139-
re2c
140-
- name: Prepare
141-
run: |
142-
make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
143-
- name: Build
144-
run: |
145-
make -f scripts/ci/Makefile ext PECL=json_post
146-
- name: Test
147-
run: |
148-
make -f scripts/ci/Makefile test
149-
150-
old-matrix-5:
151-
name: old-matrix-5
152-
env:
153-
PHP: "7.4"
125+
PHP: "8.2"
154126
enable_debug: "yes"
155127
enable_maintainer_zts: "yes"
156128
enable_json: "yes"
@@ -206,7 +178,7 @@ jobs:
206178
cur-dbg-zts-0:
207179
name: cur-dbg-zts-0
208180
env:
209-
PHP: "8.0"
181+
PHP: "8.3"
210182
enable_debug: "yes"
211183
enable_zts: "yes"
212184
runs-on: ubuntu-20.04
@@ -233,7 +205,7 @@ jobs:
233205
cur-dbg-zts-1:
234206
name: cur-dbg-zts-1
235207
env:
236-
PHP: "8.0"
208+
PHP: "8.3"
237209
enable_debug: "no"
238210
enable_zts: "yes"
239211
runs-on: ubuntu-20.04
@@ -260,7 +232,7 @@ jobs:
260232
cur-dbg-zts-2:
261233
name: cur-dbg-zts-2
262234
env:
263-
PHP: "8.0"
235+
PHP: "8.3"
264236
enable_debug: "yes"
265237
enable_zts: "no"
266238
runs-on: ubuntu-20.04
@@ -287,7 +259,7 @@ jobs:
287259
cur-dbg-zts-3:
288260
name: cur-dbg-zts-3
289261
env:
290-
PHP: "8.0"
262+
PHP: "8.3"
291263
enable_debug: "no"
292264
enable_zts: "no"
293265
runs-on: ubuntu-20.04
@@ -316,7 +288,7 @@ jobs:
316288
env:
317289
CFLAGS: "-O0 -g --coverage"
318290
CXXFLAGS: "-O0 -g --coverage"
319-
PHP: "8.0"
291+
PHP: "8.3"
320292
runs-on: ubuntu-20.04
321293
steps:
322294
- uses: actions/checkout@v2

scripts/gen_github_workflow_ci.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
jobs:
1111
<?php
1212

13-
$cur = "8.0";
13+
$cur = "8.3";
1414
$gen = include __DIR__ . "/ci/gen-matrix.php";
1515
$job = $gen->github([
1616
"old-matrix" => [
17-
"PHP" => ["5.6", "7.0", "7.1", "7.2", "7.3", "7.4"],
17+
"PHP" => ["5.6", "7.4", "8.0", "8.1", "8.2"],
1818
"enable_debug" => "yes",
1919
"enable_maintainer_zts" => "yes",
2020
"enable_json" => "yes",
21-
],
21+
],
2222
"master" => [
2323
"PHP" => "master",
2424
"enable_debug" => "yes",

0 commit comments

Comments
 (0)