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