ci: attempt to fix codecov (the old way)
[awesomized/ext-ion] / scripts / gen_github_workflow_ci.php
index 61c10702ffb2c6fb2e7d3da5b766e54b7d89be44..7fca971851a41d8cc1f4254af801f96544865651 100755 (executable)
@@ -42,6 +42,7 @@ $cur = "8.1";
 $job = $gen->github([
 "cur" => [
     "PHP" => $cur,
+    "enable_intl" => "yes",
     "enable_debug",
     "enable_zts",
 ],
@@ -49,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);
@@ -86,8 +88,8 @@ foreach ($job as $id => $env) {
         if: success()
         run: |
           find . -name '*.gc*'
-          curl -Os https://uploader.codecov.io/latest/linux/codecov
-          bash ./codecov
+          cd .libs
+          bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy
 <?php endif; ?>
 
 <?php