41ce95fbb68aa144239691f89801cb06fcca82cc
2 <?php
echo "# generated file; do not edit!\n"; ?
>
13 $gen = include __DIR__
. "/ci/gen-matrix.php";
18 "enable_debug" => "yes",
19 "enable_zts" => "yes",
20 "enable_iconv" => "yes",
21 "TEST_PHP_ARGS" => "-d error_reporting=24575" // ignore E_DEPRECATED
24 "PHP" => ["8.1", "8.0"],
25 "enable_debug" => "yes",
26 "enable_zts" => "yes",
27 "enable_iconv" => "yes",
30 // everything disabled for current
32 "with_http_libicu_dir" => "no",
33 "with_http_libidn_dir" => "no",
34 "with_http_libidn2_dir" => "no",
35 "with_http_libcurl_dir" => "no",
36 "with_http_libevent_dir" => "no",
37 "with_http_libbrotli_dir" => "no",
40 // everything enabled for current, switching debug/zts
44 "enable_iconv" => "yes",
47 // once everything enabled for current, with coverage
48 "CFLAGS" => "-O0 -g --coverage",
49 "CXXFLAGS" => "-O0 -g --coverage",
51 "enable_iconv" => "yes",
54 "with_http_libicu_dir",
55 "with_http_libidn_dir",
56 "with_http_libidn2_dir",
59 foreach ($job as $id => $env) {
60 printf(" %s:\n", $id);
61 printf(" name: \"%s (%s)\"\n", $id, $env["PHP"]);
62 if ($env["PHP"] == "master") {
63 printf(" continue-on-error: true\n");
66 foreach ($env as $key => $val) {
67 printf(" %s: \"%s\"\n", $key, $val);
72 - uses
: actions
/checkout@v3
80 sudo apt
-get install
-y \
83 libcurl4
-openssl
-dev \
92 make
-f scripts
/ci
/Makefile php || make
-f scripts
/ci
/Makefile clean php
93 make
-f scripts
/ci
/Makefile pecl PECL
=m6w6
/ext
-raphf
.git
:raphf
:master
96 make
-f scripts
/ci
/Makefile ext PECL
=http
99 make
-f scripts
/ci
/Makefile test
100 <?php
if (isset($env["CFLAGS"]) && strpos($env["CFLAGS"], "--coverage") != false) : ?
>
105 bash
<(curl
-s https
://codecov.io/bash) -X xcode -X coveragepy