X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=scripts%2Fgen_github_workflow_ci.php;h=7c2e009087c9f59e1f04810dc8c2f83e8cc82792;hp=94c06663f4d1c1319f8c5552df19d99e3035e083;hb=HEAD;hpb=2bff1a14bb1eb2a8a0c77c75b12e809908812eeb diff --git a/scripts/gen_github_workflow_ci.php b/scripts/gen_github_workflow_ci.php index 94c0666..78d770a 100755 --- a/scripts/gen_github_workflow_ci.php +++ b/scripts/gen_github_workflow_ci.php @@ -11,39 +11,32 @@ jobs: github([ "old-matrix" => [ - "PHP" => ["7.0", "7.1", "7.2", "7.3", "7.4"], + "PHP" => ["7.0", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1"], "enable_debug" => "yes", "enable_maintainer_zts" => "yes", "enable_json" => "yes", - "enable_spl" => "yes", -], -"master" => [ +], +"next" => [ "PHP" => ["master"], "enable_debug" => "yes", "enable_zts" => "yes", - "enable_spl" => "yes", -], -"cur-none" => [ - "PHP" => $cur, -], +], "cur-dbg-zts" => [ "PHP" => $cur, "enable_debug", "enable_zts", - "enable_spl" => "yes", -], +], "cur-cov" => [ "CFLAGS" => "-O0 -g --coverage", "CXXFLAGS" => "-O0 -g --coverage", "PHP" => $cur, - "enable_spl" => "yes", ]]); 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"); } @@ -52,7 +45,8 @@ foreach ($job as $id => $env) { printf(" %s: \"%s\"\n", $key, $val); } ?> - runs-on: ubuntu-20.04 + PQ_DSN: "postgres:///runner" + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 with: