dc6ea6b56e4b506af1800099d284d933647a2866
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
18 "PHP" => ["7.0", "7.1", "7.2", "7.3"],
19 "enable_debug" => "yes",
20 "enable_maintainer_zts" => "yes",
21 "enable_json" => "yes",
22 "enable_hash" => "yes",
23 "enable_iconv" => "yes",
26 // everything disabled for current
28 "with_http_libicu_dir" => "no",
29 "with_http_libidn_dir" => "no",
30 "with_http_libidn2_dir" => "no",
31 "with_http_libcurl_dir" => "no",
32 "with_http_libevent_dir" => "no",
33 "with_http_libbrotli_dir" => "no",
36 // everything enabled for current, switching debug/zts
38 "PECLs" => "event", // for tests/client029.phpt
39 "enable_sockets" => "yes", // needed by pecl/event
41 "enable_maintainer_zts",
42 "enable_json" => "yes",
43 "enable_hash" => "yes",
44 "enable_iconv" => "yes",
47 // once everything enabled for current, with coverage
48 "CFLAGS" => "-O0 -g --coverage",
49 "CXXFLAGS" => "-O0 -g --coverage",
51 "PECLs" => "event", // for tests/client029.phpt
52 "enable_sockets" => "yes", // needed by pecl/event
53 "enable_json" => "yes",
54 "enable_hash" => "yes",
55 "enable_iconv" => "yes",
57 "with_http_libicu_dir",
58 "with_http_libidn_dir",
59 "with_http_libidn2_dir",
63 foreach ($job as $id => $env) {
64 printf(" %s:\n", $id);
65 printf(" name: %s\n", $id);
66 if ($env["PHP"] == "master") {
67 printf(" continue-on-error: true\n");
70 foreach ($env as $key => $val) {
71 printf(" %s: \"%s\"\n", $key, $val);
76 - uses
: actions
/checkout@v2
81 sudo apt
-get install
-y \
84 libcurl4
-openssl
-dev \
94 make
-f scripts
/ci
/Makefile php || make
-f scripts
/ci
/Makefile clean php
95 make
-f scripts
/ci
/Makefile pecl PECL
=m6w6
/ext
-raphf
.git
:raphf
:master
96 make
-f scripts
/ci
/Makefile pecl PECL
=m6w6
/ext
-propro
.git
:propro
:master
97 if test
-n
"$PECLs"; then
99 for pecl in
$PECLs; do
100 make
-f scripts
/ci
/Makefile pecl PECL
=$pecl
107 make
-f scripts
/ci
/Makefile ext PECL
=http
110 make
-f scripts
/ci
/Makefile test
111 <?php
if (isset($env["CFLAGS"]) && strpos($env["CFLAGS"], "--coverage") != false) : ?
>
116 bash
<(curl
-s https
://codecov.io/bash) -X xcode -X coveragepy