This commit is contained in:
DubbleClick 2025-07-26 23:24:59 +07:00
parent 76094fd305
commit bd3092ae90
2 changed files with 8 additions and 4 deletions

View File

@ -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

View File

@ -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':