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