From 5a4da8ed5d03cde068e8634cd7a4cb63b590fadc Mon Sep 17 00:00:00 2001 From: DubbleClick Date: Sat, 26 Jul 2025 23:28:17 +0700 Subject: [PATCH] install zig before doctor --- .github/workflows/tests.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 673db692..15347e31 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -177,6 +177,11 @@ jobs: - name: "Install Dependencies" run: composer update -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist + - name: "Prepare Zig for Linux" + if: ${{ startsWith(matrix.os, 'ubuntu-24') }} + run: | + php bin/spc install-pkg zig + - name: "Run Build Tests (doctor)" run: php src/globals/test-extensions.php doctor_cmd ${{ matrix.os }} ${{ matrix.php }} @@ -192,11 +197,6 @@ jobs: php src/globals/test-extensions.php install_upx_cmd ${{ matrix.os }} ${{ matrix.php }} echo "UPX_CMD=$(php src/globals/test-extensions.php upx)" >> $GITHUB_ENV - - name: "Prepare Zig for Linux" - if: ${{ startsWith(matrix.os, 'ubuntu-24') }} - run: | - php bin/spc install-pkg zig - - name: "Run Build Tests (download)" run: php src/globals/test-extensions.php download_cmd ${{ matrix.os }} ${{ matrix.php }}