2 <?php
echo "# generated file; do not edit!\n"; ?
>
40 $gen = include __DIR__
. "/ci/gen-matrix.php";
49 "CFLAGS" => "-O0 -g --coverage",
50 "CXXFLAGS" => "-O0 -g --coverage",
53 foreach ($job as $id => $env) {
54 printf(" %s:\n", $id);
55 printf(" name: \"%s (%s)\"\n", $id, $env["PHP"]);
56 if ($env["PHP"] == "master") {
57 printf(" continue-on-error: true\n");
60 foreach ($env as $key => $val) {
61 printf(" %s: \"%s\"\n", $key, $val);
66 - uses
: actions
/checkout@v2
71 sudo apt
-get install
-y \
77 make
-f scripts
/ci
/Makefile php || make
-f scripts
/ci
/Makefile clean php
80 make
-f scripts
/ci
/Makefile ext PECL
=ion ||
true # no package.xml yet
83 make
-f scripts
/ci
/Makefile test
84 <?php
if (isset($env["CFLAGS"]) && strpos($env["CFLAGS"], "--coverage") != false) : ?
>
90 bash
<(curl
-s https
://codecov.io/bash) -X xcode -X coveragepy