2 <?php
echo "# generated file; do not edit!\n"; ?
>
12 $gen = include __DIR__
. "/ci/gen-matrix.php";
21 "CFLAGS" => "-O0 -g --coverage",
22 "CXXFLAGS" => "-O0 -g --coverage",
25 foreach ($job as $id => $env) {
26 printf(" %s:\n", $id);
27 printf(" name: \"%s (%s)\"\n", $id, $env["PHP"]);
28 if ($env["PHP"] == "master") {
29 printf(" continue-on-error: true\n");
32 foreach ($env as $key => $val) {
33 printf(" %s: \"%s\"\n", $key, $val);
38 - uses
: actions
/checkout@v2
43 sudo apt
-get install
-y \
49 make
-f scripts
/ci
/Makefile php || make
-f scripts
/ci
/Makefile clean php
52 make
-f scripts
/ci
/Makefile ext PECL
=ion ||
true # no package.xml yet
55 make
-f scripts
/ci
/Makefile test
56 <?php
if (isset($env["CFLAGS"]) && strpos($env["CFLAGS"], "--coverage") != false) : ?
>
61 bash
<(curl
-s https
://codecov.io/bash) -X xcode -X coveragepy