X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=scripts%2Fgen_github_workflow_ci.php;h=f36cf5f3a411f2a0466a0d8d6b4cc025c2978ad8;hp=3b927ea4c6c5e9cac324e617b0dfffdf565926f7;hb=54f4f026b7379f02786b4f074f4d248c4b3e1ebc;hpb=96bb85e8a89faad9009afd8be9ee439bc7f48ce1 diff --git a/scripts/gen_github_workflow_ci.php b/scripts/gen_github_workflow_ci.php index 3b927ea..f36cf5f 100755 --- a/scripts/gen_github_workflow_ci.php +++ b/scripts/gen_github_workflow_ci.php @@ -19,6 +19,7 @@ $job = $gen->github([ "enable_debug" => "yes", "enable_zts" => "yes", "enable_iconv" => "yes", + "TEST_PHP_ARGS" => "-d error_reporting=24575" // ignore E_DEPRECATED ], "cur-none" => [ // everything disabled for current @@ -39,8 +40,8 @@ $job = $gen->github([ ], "cur-cov" => [ // once everything enabled for current, with coverage - "CFLAGS" => "'-O0 -g --coverage'", - "CXXFLAGS" => "'-O0 -g --coverage'", + "CFLAGS" => "-O0 -g --coverage", + "CXXFLAGS" => "-O0 -g --coverage", "PHP" => $cur, "enable_iconv" => "yes", [ @@ -58,7 +59,7 @@ foreach ($job as $id => $env) { } printf(" env:\n"); foreach ($env as $key => $val) { - printf(" %s: %s\n", $key, $val); + printf(" %s: \"%s\"\n", $key, $val); } ?> runs-on: ubuntu-20.04 @@ -76,17 +77,18 @@ foreach ($job as $id => $env) { libidn2-0-dev \ libicu-dev \ libevent-dev \ - libbrotli-dev + libbrotli-dev \ + re2c - name: Prepare run: | make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php make -f scripts/ci/Makefile pecl PECL=m6w6/ext-raphf.git:raphf:master - name: Build run: | - make -f travis/pecl/Makefile ext PECL=http + make -f scripts/ci/Makefile ext PECL=http - name: Test run: | - make -f travis/pecl/Makefile test + make -f scripts/ci/Makefile test - name: Coverage if: success()