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