File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 8
8
jobs :
9
9
build :
10
10
if : " !contains(github.event.head_commit.message, 'skip-build')"
11
- runs-on : windows-latest
11
+ runs-on : windows-2019
12
12
strategy :
13
13
fail-fast : false
14
14
matrix :
81
81
((Get-Content -path $config_location -Raw) -replace "pgo=1", "pgo=0") | Set-Content -Path $config_location
82
82
- name : build PHP
83
83
run : |
84
+ C:\php-snap-build\php-sdk\bin\vswhere
84
85
$ErrorActionPreference = "Stop"
85
86
& C:\php-snap-build\php-sdk\phpsdk-vs16-${{ matrix.arch }}.bat -t C:\php-snap-build\rmtools\bin\snapshot_task.bat --task-args "php80 ${{ matrix.config }}"
86
- Get-ChildItem C:/php-snap-build/${{ matrix.target }} -Recurse
87
87
- name : Collect Artifacts
88
88
run : |
89
89
New-Item -ItemType "directory" -Path builds
Original file line number Diff line number Diff line change 8
8
jobs :
9
9
build :
10
10
if : " !contains(github.event.head_commit.message, 'skip-build')"
11
- runs-on : windows-latest
11
+ runs-on : windows-2019
12
12
strategy :
13
13
fail-fast : false
14
14
matrix :
81
81
((Get-Content -path $config_location -Raw) -replace "pgo=1", "pgo=0") | Set-Content -Path $config_location
82
82
- name : build PHP
83
83
run : |
84
+ C:\php-snap-build\php-sdk\bin\vswhere
84
85
$ErrorActionPreference = "Stop"
85
86
& C:\php-snap-build\php-sdk\phpsdk-vs16-${{ matrix.arch }}.bat -t C:\php-snap-build\rmtools\bin\snapshot_task.bat --task-args "phpmaster ${{ matrix.config }}"
86
- Get-ChildItem C:/php-snap-build/${{ matrix.target }} -Recurse
87
87
- name : Collect Artifacts
88
88
run : |
89
89
$php_version = Invoke-RestMethod https://raw.githubusercontent.com/php/php-src/master/main/php_version.h | Where-Object { $_ -match 'PHP_VERSION "(.*)"' } | Foreach-Object {$Matches[1]}
You can’t perform that action at this time.
0 commit comments