mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
wtf?
This commit is contained in:
parent
76094fd305
commit
bd3092ae90
11
.github/workflows/tests.yml
vendored
11
.github/workflows/tests.yml
vendored
@ -192,6 +192,11 @@ 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 }}
|
||||||
|
|
||||||
@ -202,6 +207,6 @@ jobs:
|
|||||||
if: ${{ !startsWith(matrix.os, 'windows-') }}
|
if: ${{ !startsWith(matrix.os, 'windows-') }}
|
||||||
run: php src/globals/test-extensions.php build_embed_cmd ${{ matrix.os }} ${{ matrix.php }}
|
run: php src/globals/test-extensions.php build_embed_cmd ${{ matrix.os }} ${{ matrix.php }}
|
||||||
|
|
||||||
# - name: Setup tmate session
|
- name: Setup tmate session
|
||||||
# if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
# uses: mxschmitt/action-tmate@v3
|
uses: mxschmitt/action-tmate@v3
|
||||||
|
|||||||
@ -228,7 +228,6 @@ switch ($argv[1] ?? null) {
|
|||||||
passthru($prefix . $build_cmd . (str_starts_with($argv[2], 'windows-') ? ' --build-cli' : (' --build-embed' . ($frankenphp ? ' --build-frankenphp' : ''))), $retcode);
|
passthru($prefix . $build_cmd . (str_starts_with($argv[2], 'windows-') ? ' --build-cli' : (' --build-embed' . ($frankenphp ? ' --build-frankenphp' : ''))), $retcode);
|
||||||
break;
|
break;
|
||||||
case 'doctor_cmd':
|
case 'doctor_cmd':
|
||||||
passthru($prefix . 'install-pkg zig', $retcode);
|
|
||||||
passthru($prefix . $doctor_cmd, $retcode);
|
passthru($prefix . $doctor_cmd, $retcode);
|
||||||
break;
|
break;
|
||||||
case 'install_upx_cmd':
|
case 'install_upx_cmd':
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user