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