prepare v4.2.5
[m6w6/ext-http] / .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 next-0:
11 name: "next-0 (master)"
12 continue-on-error: true
13 env:
14 PHP: "master"
15 enable_debug: "yes"
16 enable_zts: "yes"
17 enable_iconv: "yes"
18 TEST_PHP_ARGS: "-d error_reporting=24575"
19 runs-on: ubuntu-22.04
20 steps:
21 - uses: actions/checkout@v3
22 with:
23 submodules: true
24 - name: Info
25 run: |
26 locale -a && locale
27 - name: Install
28 run: |
29 sudo apt-get install -y \
30 php-cli \
31 php-pear \
32 libcurl4-openssl-dev \
33 libidn-dev \
34 libidn2-0-dev \
35 libicu-dev \
36 libevent-dev \
37 libbrotli-dev \
38 re2c
39 - name: Prepare
40 run: |
41 make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
42 make -f scripts/ci/Makefile pecl PECL=m6w6/ext-raphf.git:raphf:master
43 - name: Build
44 run: |
45 make -f scripts/ci/Makefile ext PECL=http
46 - name: Test
47 run: |
48 make -f scripts/ci/Makefile test
49
50 old-0:
51 name: "old-0 (8.1)"
52 env:
53 PHP: "8.1"
54 enable_debug: "yes"
55 enable_zts: "yes"
56 enable_iconv: "yes"
57 runs-on: ubuntu-22.04
58 steps:
59 - uses: actions/checkout@v3
60 with:
61 submodules: true
62 - name: Info
63 run: |
64 locale -a && locale
65 - name: Install
66 run: |
67 sudo apt-get install -y \
68 php-cli \
69 php-pear \
70 libcurl4-openssl-dev \
71 libidn-dev \
72 libidn2-0-dev \
73 libicu-dev \
74 libevent-dev \
75 libbrotli-dev \
76 re2c
77 - name: Prepare
78 run: |
79 make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
80 make -f scripts/ci/Makefile pecl PECL=m6w6/ext-raphf.git:raphf:master
81 - name: Build
82 run: |
83 make -f scripts/ci/Makefile ext PECL=http
84 - name: Test
85 run: |
86 make -f scripts/ci/Makefile test
87
88 old-1:
89 name: "old-1 (8.0)"
90 env:
91 PHP: "8.0"
92 enable_debug: "yes"
93 enable_zts: "yes"
94 enable_iconv: "yes"
95 runs-on: ubuntu-22.04
96 steps:
97 - uses: actions/checkout@v3
98 with:
99 submodules: true
100 - name: Info
101 run: |
102 locale -a && locale
103 - name: Install
104 run: |
105 sudo apt-get install -y \
106 php-cli \
107 php-pear \
108 libcurl4-openssl-dev \
109 libidn-dev \
110 libidn2-0-dev \
111 libicu-dev \
112 libevent-dev \
113 libbrotli-dev \
114 re2c
115 - name: Prepare
116 run: |
117 make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
118 make -f scripts/ci/Makefile pecl PECL=m6w6/ext-raphf.git:raphf:master
119 - name: Build
120 run: |
121 make -f scripts/ci/Makefile ext PECL=http
122 - name: Test
123 run: |
124 make -f scripts/ci/Makefile test
125
126 cur-none-0:
127 name: "cur-none-0 (8.2)"
128 env:
129 PHP: "8.2"
130 with_http_libicu_dir: "no"
131 with_http_libidn_dir: "no"
132 with_http_libidn2_dir: "no"
133 with_http_libcurl_dir: "no"
134 with_http_libevent_dir: "no"
135 with_http_libbrotli_dir: "no"
136 runs-on: ubuntu-22.04
137 steps:
138 - uses: actions/checkout@v3
139 with:
140 submodules: true
141 - name: Info
142 run: |
143 locale -a && locale
144 - name: Install
145 run: |
146 sudo apt-get install -y \
147 php-cli \
148 php-pear \
149 libcurl4-openssl-dev \
150 libidn-dev \
151 libidn2-0-dev \
152 libicu-dev \
153 libevent-dev \
154 libbrotli-dev \
155 re2c
156 - name: Prepare
157 run: |
158 make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
159 make -f scripts/ci/Makefile pecl PECL=m6w6/ext-raphf.git:raphf:master
160 - name: Build
161 run: |
162 make -f scripts/ci/Makefile ext PECL=http
163 - name: Test
164 run: |
165 make -f scripts/ci/Makefile test
166
167 cur-dbg-zts-0:
168 name: "cur-dbg-zts-0 (8.2)"
169 env:
170 PHP: "8.2"
171 enable_debug: "yes"
172 enable_zts: "yes"
173 enable_iconv: "yes"
174 runs-on: ubuntu-22.04
175 steps:
176 - uses: actions/checkout@v3
177 with:
178 submodules: true
179 - name: Info
180 run: |
181 locale -a && locale
182 - name: Install
183 run: |
184 sudo apt-get install -y \
185 php-cli \
186 php-pear \
187 libcurl4-openssl-dev \
188 libidn-dev \
189 libidn2-0-dev \
190 libicu-dev \
191 libevent-dev \
192 libbrotli-dev \
193 re2c
194 - name: Prepare
195 run: |
196 make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
197 make -f scripts/ci/Makefile pecl PECL=m6w6/ext-raphf.git:raphf:master
198 - name: Build
199 run: |
200 make -f scripts/ci/Makefile ext PECL=http
201 - name: Test
202 run: |
203 make -f scripts/ci/Makefile test
204
205 cur-dbg-zts-1:
206 name: "cur-dbg-zts-1 (8.2)"
207 env:
208 PHP: "8.2"
209 enable_debug: "no"
210 enable_zts: "yes"
211 enable_iconv: "yes"
212 runs-on: ubuntu-22.04
213 steps:
214 - uses: actions/checkout@v3
215 with:
216 submodules: true
217 - name: Info
218 run: |
219 locale -a && locale
220 - name: Install
221 run: |
222 sudo apt-get install -y \
223 php-cli \
224 php-pear \
225 libcurl4-openssl-dev \
226 libidn-dev \
227 libidn2-0-dev \
228 libicu-dev \
229 libevent-dev \
230 libbrotli-dev \
231 re2c
232 - name: Prepare
233 run: |
234 make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
235 make -f scripts/ci/Makefile pecl PECL=m6w6/ext-raphf.git:raphf:master
236 - name: Build
237 run: |
238 make -f scripts/ci/Makefile ext PECL=http
239 - name: Test
240 run: |
241 make -f scripts/ci/Makefile test
242
243 cur-dbg-zts-2:
244 name: "cur-dbg-zts-2 (8.2)"
245 env:
246 PHP: "8.2"
247 enable_debug: "yes"
248 enable_zts: "no"
249 enable_iconv: "yes"
250 runs-on: ubuntu-22.04
251 steps:
252 - uses: actions/checkout@v3
253 with:
254 submodules: true
255 - name: Info
256 run: |
257 locale -a && locale
258 - name: Install
259 run: |
260 sudo apt-get install -y \
261 php-cli \
262 php-pear \
263 libcurl4-openssl-dev \
264 libidn-dev \
265 libidn2-0-dev \
266 libicu-dev \
267 libevent-dev \
268 libbrotli-dev \
269 re2c
270 - name: Prepare
271 run: |
272 make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
273 make -f scripts/ci/Makefile pecl PECL=m6w6/ext-raphf.git:raphf:master
274 - name: Build
275 run: |
276 make -f scripts/ci/Makefile ext PECL=http
277 - name: Test
278 run: |
279 make -f scripts/ci/Makefile test
280
281 cur-dbg-zts-3:
282 name: "cur-dbg-zts-3 (8.2)"
283 env:
284 PHP: "8.2"
285 enable_debug: "no"
286 enable_zts: "no"
287 enable_iconv: "yes"
288 runs-on: ubuntu-22.04
289 steps:
290 - uses: actions/checkout@v3
291 with:
292 submodules: true
293 - name: Info
294 run: |
295 locale -a && locale
296 - name: Install
297 run: |
298 sudo apt-get install -y \
299 php-cli \
300 php-pear \
301 libcurl4-openssl-dev \
302 libidn-dev \
303 libidn2-0-dev \
304 libicu-dev \
305 libevent-dev \
306 libbrotli-dev \
307 re2c
308 - name: Prepare
309 run: |
310 make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
311 make -f scripts/ci/Makefile pecl PECL=m6w6/ext-raphf.git:raphf:master
312 - name: Build
313 run: |
314 make -f scripts/ci/Makefile ext PECL=http
315 - name: Test
316 run: |
317 make -f scripts/ci/Makefile test
318
319 cur-cov-0:
320 name: "cur-cov-0 (8.2)"
321 env:
322 CFLAGS: "-O0 -g --coverage"
323 CXXFLAGS: "-O0 -g --coverage"
324 PHP: "8.2"
325 enable_iconv: "yes"
326 with_http_libicu_dir: "yes"
327 with_http_libidn_dir: "no"
328 with_http_libidn2_dir: "no"
329 runs-on: ubuntu-22.04
330 steps:
331 - uses: actions/checkout@v3
332 with:
333 submodules: true
334 - name: Info
335 run: |
336 locale -a && locale
337 - name: Install
338 run: |
339 sudo apt-get install -y \
340 php-cli \
341 php-pear \
342 libcurl4-openssl-dev \
343 libidn-dev \
344 libidn2-0-dev \
345 libicu-dev \
346 libevent-dev \
347 libbrotli-dev \
348 re2c
349 - name: Prepare
350 run: |
351 make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
352 make -f scripts/ci/Makefile pecl PECL=m6w6/ext-raphf.git:raphf:master
353 - name: Build
354 run: |
355 make -f scripts/ci/Makefile ext PECL=http
356 - name: Test
357 run: |
358 make -f scripts/ci/Makefile test
359 - name: Coverage
360 if: success()
361 run: |
362 cd src/.libs
363 bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy
364
365 cur-cov-1:
366 name: "cur-cov-1 (8.2)"
367 env:
368 CFLAGS: "-O0 -g --coverage"
369 CXXFLAGS: "-O0 -g --coverage"
370 PHP: "8.2"
371 enable_iconv: "yes"
372 with_http_libicu_dir: "no"
373 with_http_libidn_dir: "yes"
374 with_http_libidn2_dir: "no"
375 runs-on: ubuntu-22.04
376 steps:
377 - uses: actions/checkout@v3
378 with:
379 submodules: true
380 - name: Info
381 run: |
382 locale -a && locale
383 - name: Install
384 run: |
385 sudo apt-get install -y \
386 php-cli \
387 php-pear \
388 libcurl4-openssl-dev \
389 libidn-dev \
390 libidn2-0-dev \
391 libicu-dev \
392 libevent-dev \
393 libbrotli-dev \
394 re2c
395 - name: Prepare
396 run: |
397 make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
398 make -f scripts/ci/Makefile pecl PECL=m6w6/ext-raphf.git:raphf:master
399 - name: Build
400 run: |
401 make -f scripts/ci/Makefile ext PECL=http
402 - name: Test
403 run: |
404 make -f scripts/ci/Makefile test
405 - name: Coverage
406 if: success()
407 run: |
408 cd src/.libs
409 bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy
410
411 cur-cov-2:
412 name: "cur-cov-2 (8.2)"
413 env:
414 CFLAGS: "-O0 -g --coverage"
415 CXXFLAGS: "-O0 -g --coverage"
416 PHP: "8.2"
417 enable_iconv: "yes"
418 with_http_libicu_dir: "no"
419 with_http_libidn_dir: "no"
420 with_http_libidn2_dir: "yes"
421 runs-on: ubuntu-22.04
422 steps:
423 - uses: actions/checkout@v3
424 with:
425 submodules: true
426 - name: Info
427 run: |
428 locale -a && locale
429 - name: Install
430 run: |
431 sudo apt-get install -y \
432 php-cli \
433 php-pear \
434 libcurl4-openssl-dev \
435 libidn-dev \
436 libidn2-0-dev \
437 libicu-dev \
438 libevent-dev \
439 libbrotli-dev \
440 re2c
441 - name: Prepare
442 run: |
443 make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
444 make -f scripts/ci/Makefile pecl PECL=m6w6/ext-raphf.git:raphf:master
445 - name: Build
446 run: |
447 make -f scripts/ci/Makefile ext PECL=http
448 - name: Test
449 run: |
450 make -f scripts/ci/Makefile test
451 - name: Coverage
452 if: success()
453 run: |
454 cd src/.libs
455 bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy
456