gh-actions: reverse dependency of raphf<-http
[m6w6/ext-raphf] / scripts / gen_github_workflow_ci.php
index cb181b36e4f6bcfc3a2f9f041948010e8d4bdf5a..d5ade680f872fbb803209337de7b75f295b3fd75 100755 (executable)
@@ -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: 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
@@ -64,10 +69,6 @@ foreach ($job as $id => $env) {
             done
             unset IFS
           fi
-
-      - name: Build
-        run: |
-          make -f scripts/ci/Makefile ext PECL=raphf
       - name: Test
         run: |
           make -f scripts/ci/Makefile test