|
|
|
@ -42,7 +42,7 @@ jobs: |
|
|
|
with: |
|
|
|
with: |
|
|
|
php-version: ${{ matrix.php }} |
|
|
|
php-version: ${{ matrix.php }} |
|
|
|
coverage: none |
|
|
|
coverage: none |
|
|
|
extensions: zip |
|
|
|
extensions: zip, mbstring |
|
|
|
tools: composer:v2 |
|
|
|
tools: composer:v2 |
|
|
|
env: |
|
|
|
env: |
|
|
|
fail-fast: true |
|
|
|
fail-fast: true |
|
|
|
@ -350,11 +350,13 @@ jobs: |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
$ErrorActionPreference = 'Stop' |
|
|
|
$ErrorActionPreference = 'Stop' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$env:PHPRC = Join-Path $env:PHP_HOME 'php.ini' |
|
|
|
$env:PATH = "$env:PHPX_HOME\build;$env:PATH" |
|
|
|
$env:PATH = "$env:PHPX_HOME\build;$env:PATH" |
|
|
|
& .\tpc.exe tests\windows\smoke\project.yml --job 1 --no-progress |
|
|
|
& .\tpc.exe tests\windows\smoke\project.yml --job 1 --no-progress |
|
|
|
if ($LASTEXITCODE -ne 0) { |
|
|
|
if ($LASTEXITCODE -ne 0) { |
|
|
|
throw "Windows smoke project compilation failed with exit code $LASTEXITCODE" |
|
|
|
throw "Windows smoke project compilation failed with exit code $LASTEXITCODE" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
Remove-Item Env:PHPRC |
|
|
|
|
|
|
|
|
|
|
|
$smokeExe = Join-Path '${{ github.workspace }}' 'tests\windows\smoke\windows_smoke.exe' |
|
|
|
$smokeExe = Join-Path '${{ github.workspace }}' 'tests\windows\smoke\windows_smoke.exe' |
|
|
|
if (-not (Test-Path $smokeExe)) { |
|
|
|
if (-not (Test-Path $smokeExe)) { |
|
|
|
@ -392,6 +394,7 @@ jobs: |
|
|
|
shell: pwsh |
|
|
|
shell: pwsh |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
$ErrorActionPreference = 'Stop' |
|
|
|
$ErrorActionPreference = 'Stop' |
|
|
|
|
|
|
|
$env:PHPRC = Join-Path $env:PHP_HOME 'php.ini' |
|
|
|
|
|
|
|
|
|
|
|
composer install --no-dev --prefer-dist --no-progress --classmap-authoritative |
|
|
|
composer install --no-dev --prefer-dist --no-progress --classmap-authoritative |
|
|
|
if ($LASTEXITCODE -ne 0) { |
|
|
|
if ($LASTEXITCODE -ne 0) { |
|
|
|
|