mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
install zig before doctor
This commit is contained in:
parent
bd3092ae90
commit
5a4da8ed5d
10
.github/workflows/tests.yml
vendored
10
.github/workflows/tests.yml
vendored
@ -177,6 +177,11 @@ jobs:
|
|||||||
- name: "Install Dependencies"
|
- name: "Install Dependencies"
|
||||||
run: composer update -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
|
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)"
|
- name: "Run Build Tests (doctor)"
|
||||||
run: php src/globals/test-extensions.php doctor_cmd ${{ matrix.os }} ${{ matrix.php }}
|
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 }}
|
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
|
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)"
|
- name: "Run Build Tests (download)"
|
||||||
run: php src/globals/test-extensions.php download_cmd ${{ matrix.os }} ${{ matrix.php }}
|
run: php src/globals/test-extensions.php download_cmd ${{ matrix.os }} ${{ matrix.php }}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user