2 <?php
echo "# generated file; do not edit!\n"; ?
>
14 $gen = include __DIR__
. "/ci/gen-matrix.php";
17 "PHP" => ["5.6", "7.0", "7.1", "7.2", "7.3", "7.4"],
18 "enable_debug" => "yes",
19 "enable_maintainer_zts" => "yes",
20 "enable_json" => "yes",
24 "enable_debug" => "yes",
25 "enable_zts" => "yes",
33 "CFLAGS" => "-O0 -g --coverage",
34 "CXXFLAGS" => "-O0 -g --coverage",
37 foreach ($job as $id => $env) {
38 printf(" %s:\n", $id);
39 printf(" name: %s\n", $id);
40 if ($env["PHP"] == "master") {
41 printf(" continue-on-error: true\n");
44 foreach ($env as $key => $val) {
45 printf(" %s: \"%s\"\n", $key, $val);
50 - uses
: actions
/checkout@v2
55 sudo apt
-get install
-y \
61 make
-f scripts
/ci
/Makefile php || make
-f scripts
/ci
/Makefile clean php
64 make
-f scripts
/ci
/Makefile ext PECL
=json_post
67 make
-f scripts
/ci
/Makefile test
68 <?php
if (isset($env["CFLAGS"]) && strpos($env["CFLAGS"], "--coverage") != false) : ?
>
73 bash
<(curl
-s https
://codecov.io/bash) -X xcode -X coveragepy