Skip to content

Commit 4ab46ff

Browse files
committed
ci: update PHP versions
1 parent b3ed0d7 commit 4ab46ff

File tree

2 files changed

+9
-128
lines changed

2 files changed

+9
-128
lines changed

.github/workflows/ci.yml

+8-120
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ on:
88

99
jobs:
1010
old-matrix-0:
11-
name: php-7.0-debug-zts
11+
name: php-7.4-debug-zts
1212
env:
13-
PHP: "7.0"
13+
PHP: "7.4"
1414
enable_debug: "yes"
1515
enable_maintainer_zts: "yes"
1616
enable_session: "yes"
@@ -36,9 +36,9 @@ jobs:
3636
make -f scripts/ci/Makefile test
3737
3838
old-matrix-1:
39-
name: php-7.1-debug-zts
39+
name: php-8.0-debug-nozts
4040
env:
41-
PHP: "7.1"
41+
PHP: "8.0"
4242
enable_debug: "yes"
4343
enable_maintainer_zts: "yes"
4444
enable_session: "yes"
@@ -64,9 +64,9 @@ jobs:
6464
make -f scripts/ci/Makefile test
6565
6666
old-matrix-2:
67-
name: php-7.2-debug-zts
67+
name: php-8.1-debug-nozts
6868
env:
69-
PHP: "7.2"
69+
PHP: "8.1"
7070
enable_debug: "yes"
7171
enable_maintainer_zts: "yes"
7272
enable_session: "yes"
@@ -92,37 +92,9 @@ jobs:
9292
make -f scripts/ci/Makefile test
9393
9494
old-matrix-3:
95-
name: php-7.3-debug-zts
95+
name: php-8.2-debug-nozts
9696
env:
97-
PHP: "7.3"
98-
enable_debug: "yes"
99-
enable_maintainer_zts: "yes"
100-
enable_session: "yes"
101-
runs-on: ubuntu-20.04
102-
steps:
103-
- uses: actions/checkout@v2
104-
with:
105-
submodules: true
106-
- name: Install
107-
run: |
108-
sudo apt-get install -y \
109-
php-cli \
110-
php-pear \
111-
re2c
112-
- name: Prepare
113-
run: |
114-
make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
115-
- name: Build
116-
run: |
117-
make -f scripts/ci/Makefile ext PECL=msgpack
118-
- name: Test
119-
run: |
120-
make -f scripts/ci/Makefile test
121-
122-
old-matrix-4:
123-
name: php-7.4-debug-zts
124-
env:
125-
PHP: "7.4"
97+
PHP: "8.2"
12698
enable_debug: "yes"
12799
enable_maintainer_zts: "yes"
128100
enable_session: "yes"
@@ -176,90 +148,6 @@ jobs:
176148
run: |
177149
make -f scripts/ci/Makefile test
178150
179-
cur-matrix-0:
180-
name: php-8.0-debug-zts
181-
env:
182-
PHP: "8.0"
183-
enable_debug: "yes"
184-
enable_zts: "yes"
185-
enable_session: "yes"
186-
runs-on: ubuntu-20.04
187-
steps:
188-
- uses: actions/checkout@v2
189-
with:
190-
submodules: true
191-
- name: Install
192-
run: |
193-
sudo apt-get install -y \
194-
php-cli \
195-
php-pear \
196-
re2c
197-
- name: Prepare
198-
run: |
199-
make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
200-
- name: Build
201-
run: |
202-
make -f scripts/ci/Makefile ext PECL=msgpack
203-
- name: Test
204-
run: |
205-
make -f scripts/ci/Makefile test
206-
207-
cur-matrix-1:
208-
name: php-8.1-debug-zts
209-
env:
210-
PHP: "8.1"
211-
enable_debug: "yes"
212-
enable_zts: "yes"
213-
enable_session: "yes"
214-
runs-on: ubuntu-20.04
215-
steps:
216-
- uses: actions/checkout@v2
217-
with:
218-
submodules: true
219-
- name: Install
220-
run: |
221-
sudo apt-get install -y \
222-
php-cli \
223-
php-pear \
224-
re2c
225-
- name: Prepare
226-
run: |
227-
make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
228-
- name: Build
229-
run: |
230-
make -f scripts/ci/Makefile ext PECL=msgpack
231-
- name: Test
232-
run: |
233-
make -f scripts/ci/Makefile test
234-
235-
cur-matrix-2:
236-
name: php-8.2-debug-zts
237-
env:
238-
PHP: "8.2"
239-
enable_debug: "yes"
240-
enable_zts: "yes"
241-
enable_session: "yes"
242-
runs-on: ubuntu-20.04
243-
steps:
244-
- uses: actions/checkout@v2
245-
with:
246-
submodules: true
247-
- name: Install
248-
run: |
249-
sudo apt-get install -y \
250-
php-cli \
251-
php-pear \
252-
re2c
253-
- name: Prepare
254-
run: |
255-
make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
256-
- name: Build
257-
run: |
258-
make -f scripts/ci/Makefile ext PECL=msgpack
259-
- name: Test
260-
run: |
261-
make -f scripts/ci/Makefile test
262-
263151
cur-none-0:
264152
name: php-8.3-nodebug-nozts
265153
env:

scripts/gen_github_workflow_ci.php

+1-8
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function jobname(string $id, array $env) : string {
2828
$job = $gen->github([
2929
"old-matrix" => [
3030
// most useful for all additional versions except current
31-
"PHP" => ["7.0", "7.1", "7.2", "7.3", "7.4"],
31+
"PHP" => ["7.4", "8.0", "8.1", "8.2"],
3232
"enable_debug" => "yes",
3333
"enable_maintainer_zts" => "yes",
3434
"enable_session" => "yes",
@@ -40,13 +40,6 @@ function jobname(string $id, array $env) : string {
4040
"enable_zts" => "yes",
4141
"enable_session" => "yes",
4242
],
43-
"cur-matrix" => [
44-
// most useful for all additional versions except current
45-
"PHP" => ["8.0", "8.1", "8.2"],
46-
"enable_debug" => "yes",
47-
"enable_zts" => "yes",
48-
"enable_session" => "yes",
49-
],
5043
"cur-none" => [
5144
// everything disabled for current
5245
"PHP" => $cur,

0 commit comments

Comments
 (0)