gh-actions: pecl_http3@PHP7 needs ext-propro
[m6w6/ext-raphf] / scripts / gen_github_workflow_ci.php
index cb181b36e4f6bcfc3a2f9f041948010e8d4bdf5a..cc2cb920cb67320bdbb0425c74dcc88f24369cb7 100755 (executable)
@@ -17,7 +17,7 @@ $job = $gen->github([
        "PHP" => ["7.0", "7.1", "7.2", "7.3", "7.4"],
        "enable_debug" => "yes",
        "enable_maintainer_zts" => "yes",
        "PHP" => ["7.0", "7.1", "7.2", "7.3", "7.4"],
        "enable_debug" => "yes",
        "enable_maintainer_zts" => "yes",
-       "PECLs" => "pecl_http:http:3.2.4",
+       "PECLs" => "propro,pecl_http:http:3.2.4",
 ], 
 "master" => [
        "PHP" => "master",
 ], 
 "master" => [
        "PHP" => "master",
@@ -57,6 +57,11 @@ foreach ($job as $id => $env) {
       - name: Prepare
         run: |
           make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
       - name: Prepare
         run: |
           make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
+      - name: Build
+        run: |
+          make -f scripts/ci/Makefile ext PECL=raphf
+      - name: Prepare Test
+        run: |
           if test -n "$PECLs"; then
             IFS=$','
             for pecl in $PECLs; do
           if test -n "$PECLs"; then
             IFS=$','
             for pecl in $PECLs; do
@@ -64,10 +69,6 @@ foreach ($job as $id => $env) {
             done
             unset IFS
           fi
             done
             unset IFS
           fi
-
-      - name: Build
-        run: |
-          make -f scripts/ci/Makefile ext PECL=raphf
       - name: Test
         run: |
           make -f scripts/ci/Makefile test
       - name: Test
         run: |
           make -f scripts/ci/Makefile test