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