2 <?php
echo "# generated file; do not edit!\n"; ?
>
14 $gen = include __DIR__
. "/ci/gen-matrix.php";
17 "PHP" => ["7.0", "7.1", "7.2", "7.3", "7.4"],
18 "enable_debug" => "yes",
19 "enable_maintainer_zts" => "yes",
20 "PECLs" => "pecl_http:http:3.2.4",
24 "enable_debug" => "yes",
25 "enable_zts" => "yes",
26 "PECLs" => "m6w6/ext-http:http:master",
32 "PECLs" => "pecl_http:http:4.0.0",
34 foreach ($job as $id => $env) {
35 printf(" %s:\n", $id);
36 printf(" name: %s\n", $id);
37 if ($env["PHP"] == "master") {
38 printf(" continue-on-error: true\n");
41 foreach ($env as $key => $val) {
42 printf(" %s: \"%s\"\n", $key, $val);
47 - uses
: actions
/checkout@v2
52 sudo apt
-get install
-y \
55 libcurl4
-openssl
-dev \
59 make
-f scripts
/ci
/Makefile php || make
-f scripts
/ci
/Makefile clean php
60 if test
-n
"$PECLs"; then
62 for pecl in
$PECLs; do
63 make
-f scripts
/ci
/Makefile pecl PECL
=$pecl
70 make
-f scripts
/ci
/Makefile ext PECL
=raphf
73 make
-f scripts
/ci
/Makefile test
74 <?php
if (isset($env["CFLAGS"]) && strpos($env["CFLAGS"], "--coverage") != false) : ?
>
79 bash
<(curl
-s https
://codecov.io/bash) -X xcode -X coveragepy