X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fgen_github_workflow_ci.php;h=f36cf5f3a411f2a0466a0d8d6b4cc025c2978ad8;hb=HEAD;hp=7cbbdfb056640a729137a915bd3d9db77bfc2d53;hpb=c3004110f47208a7739e93e075aac5597cfa3f04;p=m6w6%2Fext-http diff --git a/scripts/gen_github_workflow_ci.php b/scripts/gen_github_workflow_ci.php index 7cbbdfb..41ce95f 100755 --- a/scripts/gen_github_workflow_ci.php +++ b/scripts/gen_github_workflow_ci.php @@ -11,15 +11,21 @@ jobs: github([ -"master" => [ -// most useful for all additional versions except current +"next" => [ "PHP" => ["master"], "enable_debug" => "yes", "enable_zts" => "yes", "enable_iconv" => "yes", -], + "TEST_PHP_ARGS" => "-d error_reporting=24575" // ignore E_DEPRECATED +], +"old" => [ + "PHP" => ["8.1", "8.0"], + "enable_debug" => "yes", + "enable_zts" => "yes", + "enable_iconv" => "yes", +], "cur-none" => [ // everything disabled for current "PHP" => $cur, @@ -29,14 +35,14 @@ $job = $gen->github([ "with_http_libcurl_dir" => "no", "with_http_libevent_dir" => "no", "with_http_libbrotli_dir" => "no", -], +], "cur-dbg-zts" => [ // everything enabled for current, switching debug/zts "PHP" => $cur, "enable_debug", "enable_zts", "enable_iconv" => "yes", -], +], "cur-cov" => [ // once everything enabled for current, with coverage "CFLAGS" => "-O0 -g --coverage", @@ -52,7 +58,7 @@ $job = $gen->github([ ]]); foreach ($job as $id => $env) { printf(" %s:\n", $id); - printf(" name: %s\n", $id); + printf(" name: \"%s (%s)\"\n", $id, $env["PHP"]); if ($env["PHP"] == "master") { printf(" continue-on-error: true\n"); } @@ -61,18 +67,21 @@ foreach ($job as $id => $env) { printf(" %s: \"%s\"\n", $key, $val); } ?> - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: submodules: true + - name: Info + run: | + locale -a && locale - name: Install run: | sudo apt-get install -y \ php-cli \ php-pear \ libcurl4-openssl-dev \ - libidn11-dev \ + libidn-dev \ libidn2-0-dev \ libicu-dev \ libevent-dev \