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