2 <?php
echo "# generated file; do not edit!\n"; ?
>
13 $gen = include __DIR__
. "/ci/gen-matrix.php";
17 // most useful for all additional versions except current
19 "enable_debug" => "yes",
20 "enable_zts" => "yes",
21 "enable_iconv" => "yes",
22 "TEST_PHP_ARGS" => "-d error_reporting=24575" // ignore E_DEPRECATED
25 // everything disabled for current
27 "with_http_libicu_dir" => "no",
28 "with_http_libidn_dir" => "no",
29 "with_http_libidn2_dir" => "no",
30 "with_http_libcurl_dir" => "no",
31 "with_http_libevent_dir" => "no",
32 "with_http_libbrotli_dir" => "no",
35 // everything enabled for current, switching debug/zts
39 "enable_iconv" => "yes",
42 // once everything enabled for current, with coverage
43 "CFLAGS" => "-O0 -g --coverage",
44 "CXXFLAGS" => "-O0 -g --coverage",
46 "enable_iconv" => "yes",
49 "with_http_libicu_dir",
50 "with_http_libidn_dir",
51 "with_http_libidn2_dir",
54 foreach ($job as $id => $env) {
55 printf(" %s:\n", $id);
56 printf(" name: %s\n", $id);
57 if ($env["PHP"] == "master") {
58 printf(" continue-on-error: true\n");
61 foreach ($env as $key => $val) {
62 printf(" %s: \"%s\"\n", $key, $val);
67 - uses
: actions
/checkout@v2
72 sudo apt
-get install
-y \
75 libcurl4
-openssl
-dev \
84 make
-f scripts
/ci
/Makefile php || make
-f scripts
/ci
/Makefile clean php
85 make
-f scripts
/ci
/Makefile pecl PECL
=m6w6
/ext
-raphf
.git
:raphf
:master
88 make
-f scripts
/ci
/Makefile ext PECL
=http
91 make
-f scripts
/ci
/Makefile test
92 <?php
if (isset($env["CFLAGS"]) && strpos($env["CFLAGS"], "--coverage") != false) : ?
>
97 bash
<(curl
-s https
://codecov.io/bash) -X xcode -X coveragepy