Skip to content

Commit 42cfc3b

Browse files
committed
travis -> gh-actions
1 parent 39b52ea commit 42cfc3b

File tree

8 files changed

+473
-105
lines changed

8 files changed

+473
-105
lines changed

.github/workflows/ci.yml

+390
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,390 @@
1+
# generated file; do not edit!
2+
3+
name: ci
4+
on:
5+
workflow_dispatch:
6+
push:
7+
pull_request:
8+
9+
jobs:
10+
old-matrix-0:
11+
name: old-matrix-0
12+
env:
13+
PHP: "7.0"
14+
enable_debug: "yes"
15+
enable_maintainer_zts: "yes"
16+
PECLs: "propro,pecl_http:http:3.2.4"
17+
runs-on: ubuntu-20.04
18+
steps:
19+
- uses: actions/checkout@v2
20+
with:
21+
submodules: true
22+
- name: Install
23+
run: |
24+
sudo apt-get install -y \
25+
php-cli \
26+
php-pear \
27+
libcurl4-openssl-dev \
28+
re2c
29+
- name: Prepare
30+
run: |
31+
make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
32+
- name: Build
33+
run: |
34+
make -f scripts/ci/Makefile ext PECL=raphf
35+
- name: Prepare Test
36+
run: |
37+
if test -n "$PECLs"; then
38+
IFS=$','
39+
for pecl in $PECLs; do
40+
make -f scripts/ci/Makefile pecl PECL=$pecl
41+
done
42+
unset IFS
43+
fi
44+
- name: Test
45+
run: |
46+
make -f scripts/ci/Makefile test
47+
48+
old-matrix-1:
49+
name: old-matrix-1
50+
env:
51+
PHP: "7.1"
52+
enable_debug: "yes"
53+
enable_maintainer_zts: "yes"
54+
PECLs: "propro,pecl_http:http:3.2.4"
55+
runs-on: ubuntu-20.04
56+
steps:
57+
- uses: actions/checkout@v2
58+
with:
59+
submodules: true
60+
- name: Install
61+
run: |
62+
sudo apt-get install -y \
63+
php-cli \
64+
php-pear \
65+
libcurl4-openssl-dev \
66+
re2c
67+
- name: Prepare
68+
run: |
69+
make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
70+
- name: Build
71+
run: |
72+
make -f scripts/ci/Makefile ext PECL=raphf
73+
- name: Prepare Test
74+
run: |
75+
if test -n "$PECLs"; then
76+
IFS=$','
77+
for pecl in $PECLs; do
78+
make -f scripts/ci/Makefile pecl PECL=$pecl
79+
done
80+
unset IFS
81+
fi
82+
- name: Test
83+
run: |
84+
make -f scripts/ci/Makefile test
85+
86+
old-matrix-2:
87+
name: old-matrix-2
88+
env:
89+
PHP: "7.2"
90+
enable_debug: "yes"
91+
enable_maintainer_zts: "yes"
92+
PECLs: "propro,pecl_http:http:3.2.4"
93+
runs-on: ubuntu-20.04
94+
steps:
95+
- uses: actions/checkout@v2
96+
with:
97+
submodules: true
98+
- name: Install
99+
run: |
100+
sudo apt-get install -y \
101+
php-cli \
102+
php-pear \
103+
libcurl4-openssl-dev \
104+
re2c
105+
- name: Prepare
106+
run: |
107+
make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
108+
- name: Build
109+
run: |
110+
make -f scripts/ci/Makefile ext PECL=raphf
111+
- name: Prepare Test
112+
run: |
113+
if test -n "$PECLs"; then
114+
IFS=$','
115+
for pecl in $PECLs; do
116+
make -f scripts/ci/Makefile pecl PECL=$pecl
117+
done
118+
unset IFS
119+
fi
120+
- name: Test
121+
run: |
122+
make -f scripts/ci/Makefile test
123+
124+
old-matrix-3:
125+
name: old-matrix-3
126+
env:
127+
PHP: "7.3"
128+
enable_debug: "yes"
129+
enable_maintainer_zts: "yes"
130+
PECLs: "propro,pecl_http:http:3.2.4"
131+
runs-on: ubuntu-20.04
132+
steps:
133+
- uses: actions/checkout@v2
134+
with:
135+
submodules: true
136+
- name: Install
137+
run: |
138+
sudo apt-get install -y \
139+
php-cli \
140+
php-pear \
141+
libcurl4-openssl-dev \
142+
re2c
143+
- name: Prepare
144+
run: |
145+
make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
146+
- name: Build
147+
run: |
148+
make -f scripts/ci/Makefile ext PECL=raphf
149+
- name: Prepare Test
150+
run: |
151+
if test -n "$PECLs"; then
152+
IFS=$','
153+
for pecl in $PECLs; do
154+
make -f scripts/ci/Makefile pecl PECL=$pecl
155+
done
156+
unset IFS
157+
fi
158+
- name: Test
159+
run: |
160+
make -f scripts/ci/Makefile test
161+
162+
old-matrix-4:
163+
name: old-matrix-4
164+
env:
165+
PHP: "7.4"
166+
enable_debug: "yes"
167+
enable_maintainer_zts: "yes"
168+
PECLs: "propro,pecl_http:http:3.2.4"
169+
runs-on: ubuntu-20.04
170+
steps:
171+
- uses: actions/checkout@v2
172+
with:
173+
submodules: true
174+
- name: Install
175+
run: |
176+
sudo apt-get install -y \
177+
php-cli \
178+
php-pear \
179+
libcurl4-openssl-dev \
180+
re2c
181+
- name: Prepare
182+
run: |
183+
make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
184+
- name: Build
185+
run: |
186+
make -f scripts/ci/Makefile ext PECL=raphf
187+
- name: Prepare Test
188+
run: |
189+
if test -n "$PECLs"; then
190+
IFS=$','
191+
for pecl in $PECLs; do
192+
make -f scripts/ci/Makefile pecl PECL=$pecl
193+
done
194+
unset IFS
195+
fi
196+
- name: Test
197+
run: |
198+
make -f scripts/ci/Makefile test
199+
200+
master-0:
201+
name: master-0
202+
continue-on-error: true
203+
env:
204+
PHP: "master"
205+
enable_debug: "yes"
206+
enable_zts: "yes"
207+
PECLs: "m6w6/ext-http:http:master"
208+
runs-on: ubuntu-20.04
209+
steps:
210+
- uses: actions/checkout@v2
211+
with:
212+
submodules: true
213+
- name: Install
214+
run: |
215+
sudo apt-get install -y \
216+
php-cli \
217+
php-pear \
218+
libcurl4-openssl-dev \
219+
re2c
220+
- name: Prepare
221+
run: |
222+
make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
223+
- name: Build
224+
run: |
225+
make -f scripts/ci/Makefile ext PECL=raphf
226+
- name: Prepare Test
227+
run: |
228+
if test -n "$PECLs"; then
229+
IFS=$','
230+
for pecl in $PECLs; do
231+
make -f scripts/ci/Makefile pecl PECL=$pecl
232+
done
233+
unset IFS
234+
fi
235+
- name: Test
236+
run: |
237+
make -f scripts/ci/Makefile test
238+
239+
cur-dbg-zts-0:
240+
name: cur-dbg-zts-0
241+
env:
242+
PHP: "8.0"
243+
enable_debug: "yes"
244+
enable_zts: "yes"
245+
PECLs: "pecl_http:http:4.0.0"
246+
runs-on: ubuntu-20.04
247+
steps:
248+
- uses: actions/checkout@v2
249+
with:
250+
submodules: true
251+
- name: Install
252+
run: |
253+
sudo apt-get install -y \
254+
php-cli \
255+
php-pear \
256+
libcurl4-openssl-dev \
257+
re2c
258+
- name: Prepare
259+
run: |
260+
make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
261+
- name: Build
262+
run: |
263+
make -f scripts/ci/Makefile ext PECL=raphf
264+
- name: Prepare Test
265+
run: |
266+
if test -n "$PECLs"; then
267+
IFS=$','
268+
for pecl in $PECLs; do
269+
make -f scripts/ci/Makefile pecl PECL=$pecl
270+
done
271+
unset IFS
272+
fi
273+
- name: Test
274+
run: |
275+
make -f scripts/ci/Makefile test
276+
277+
cur-dbg-zts-1:
278+
name: cur-dbg-zts-1
279+
env:
280+
PHP: "8.0"
281+
enable_debug: "no"
282+
enable_zts: "yes"
283+
PECLs: "pecl_http:http:4.0.0"
284+
runs-on: ubuntu-20.04
285+
steps:
286+
- uses: actions/checkout@v2
287+
with:
288+
submodules: true
289+
- name: Install
290+
run: |
291+
sudo apt-get install -y \
292+
php-cli \
293+
php-pear \
294+
libcurl4-openssl-dev \
295+
re2c
296+
- name: Prepare
297+
run: |
298+
make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
299+
- name: Build
300+
run: |
301+
make -f scripts/ci/Makefile ext PECL=raphf
302+
- name: Prepare Test
303+
run: |
304+
if test -n "$PECLs"; then
305+
IFS=$','
306+
for pecl in $PECLs; do
307+
make -f scripts/ci/Makefile pecl PECL=$pecl
308+
done
309+
unset IFS
310+
fi
311+
- name: Test
312+
run: |
313+
make -f scripts/ci/Makefile test
314+
315+
cur-dbg-zts-2:
316+
name: cur-dbg-zts-2
317+
env:
318+
PHP: "8.0"
319+
enable_debug: "yes"
320+
enable_zts: "no"
321+
PECLs: "pecl_http:http:4.0.0"
322+
runs-on: ubuntu-20.04
323+
steps:
324+
- uses: actions/checkout@v2
325+
with:
326+
submodules: true
327+
- name: Install
328+
run: |
329+
sudo apt-get install -y \
330+
php-cli \
331+
php-pear \
332+
libcurl4-openssl-dev \
333+
re2c
334+
- name: Prepare
335+
run: |
336+
make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
337+
- name: Build
338+
run: |
339+
make -f scripts/ci/Makefile ext PECL=raphf
340+
- name: Prepare Test
341+
run: |
342+
if test -n "$PECLs"; then
343+
IFS=$','
344+
for pecl in $PECLs; do
345+
make -f scripts/ci/Makefile pecl PECL=$pecl
346+
done
347+
unset IFS
348+
fi
349+
- name: Test
350+
run: |
351+
make -f scripts/ci/Makefile test
352+
353+
cur-dbg-zts-3:
354+
name: cur-dbg-zts-3
355+
env:
356+
PHP: "8.0"
357+
enable_debug: "no"
358+
enable_zts: "no"
359+
PECLs: "pecl_http:http:4.0.0"
360+
runs-on: ubuntu-20.04
361+
steps:
362+
- uses: actions/checkout@v2
363+
with:
364+
submodules: true
365+
- name: Install
366+
run: |
367+
sudo apt-get install -y \
368+
php-cli \
369+
php-pear \
370+
libcurl4-openssl-dev \
371+
re2c
372+
- name: Prepare
373+
run: |
374+
make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
375+
- name: Build
376+
run: |
377+
make -f scripts/ci/Makefile ext PECL=raphf
378+
- name: Prepare Test
379+
run: |
380+
if test -n "$PECLs"; then
381+
IFS=$','
382+
for pecl in $PECLs; do
383+
make -f scripts/ci/Makefile pecl PECL=$pecl
384+
done
385+
unset IFS
386+
fi
387+
- name: Test
388+
run: |
389+
make -f scripts/ci/Makefile test
390+

.gitmodules

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
[submodule "travis-pecl"]
2-
path = travis/pecl
3-
url = https://github.com/m6w6/travis-pecl.git
4-
branch = master
1+
[submodule "scripts/ci"]
2+
path = scripts/ci
3+
url = https://github.com/m6w6/pecl-ci.git

0 commit comments

Comments
 (0)