X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=scripts%2Fgen_github_workflow_ci.php;h=f714bbcd7cf20fe089cd6e8fec2f9c01325d2fbb;hp=7cb18f255fc7293cb2555e3ee03dd1f8d6ffe86f;hb=22dcf8982ba84d62c319f4e386df99b62c165048;hpb=2648e31835b892343916ef6fd3bc968923d1b75d diff --git a/scripts/gen_github_workflow_ci.php b/scripts/gen_github_workflow_ci.php index 7cb18f2..f714bbc 100755 --- a/scripts/gen_github_workflow_ci.php +++ b/scripts/gen_github_workflow_ci.php @@ -58,12 +58,14 @@ 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 steps: - uses: actions/checkout@v2 - submodules: true + with: + submodules: true - name: Install run: | sudo apt-get install -y \ @@ -81,10 +83,10 @@ foreach ($job as $id => $env) { 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()