ci: enable ext/intl
[awesomized/ext-ion] / scripts / gen_github_workflow_ci.php
index e3e13e8df69ec02086a6c51d582065ed402cc480..9d58d955234b724b5455741be1376d57ee108af3 100755 (executable)
@@ -8,6 +8,7 @@ on:
     types: [published]
   pull_request:
     paths-ignore:
+      - .dockerignore
       - .editorconfig
       - .gitignore
       - AUTHORS
@@ -21,6 +22,7 @@ on:
       - README.md
   push:
     paths-ignore:
+      - .dockerignore
       - .editorconfig
       - .gitignore
       - AUTHORS
@@ -40,6 +42,7 @@ $cur = "8.1";
 $job = $gen->github([
 "cur" => [
     "PHP" => $cur,
+    "enable_intl" => "yes",
     "enable_debug",
     "enable_zts",
 ],
@@ -47,6 +50,7 @@ $job = $gen->github([
     "CFLAGS" => "-O0 -g --coverage",
     "CXXFLAGS" => "-O0 -g --coverage",
     "PHP" => $cur,
+    "enable_intl" => "yes",
 ]]);
 foreach ($job as $id => $env) {
     printf("  %s:\n", $id);
@@ -84,8 +88,9 @@ foreach ($job as $id => $env) {
         if: success()
         run: |
           find . -name '*.gc*'
-          cd .libs
-          bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy
+          curl -Os https://uploader.codecov.io/latest/linux/codecov
+          chmod +x codecov
+          ./codecov
 <?php endif; ?>
 
 <?php