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