2 <?php
echo "# generated file; do not edit!\n"; ?
>
38 $gen = include __DIR__
. "/ci/gen-matrix.php";
47 "CFLAGS" => "-O0 -g --coverage",
48 "CXXFLAGS" => "-O0 -g --coverage",
51 foreach ($job as $id => $env) {
52 printf(" %s:\n", $id);
53 printf(" name: \"%s (%s)\"\n", $id, $env["PHP"]);
54 if ($env["PHP"] == "master") {
55 printf(" continue-on-error: true\n");
58 foreach ($env as $key => $val) {
59 printf(" %s: \"%s\"\n", $key, $val);
64 - uses
: actions
/checkout@v2
69 sudo apt
-get install
-y \
75 make
-f scripts
/ci
/Makefile php || make
-f scripts
/ci
/Makefile clean php
78 make
-f scripts
/ci
/Makefile ext PECL
=ion ||
true # no package.xml yet
81 make
-f scripts
/ci
/Makefile test
82 <?php
if (isset($env["CFLAGS"]) && strpos($env["CFLAGS"], "--coverage") != false) : ?
>
88 bash
<(curl
-s https
://codecov.io/bash) -X xcode -X coveragepy