@@ -70,15 +70,20 @@ jobs:
70
70
$tar_location="C:\Program Files\Git\usr\bin\tar.exe"
71
71
$task_location="C:\php-snap-build\rmtools\bin\snapshot_task.bat"
72
72
$git_script_location="C:\php-snap-build\rmtools\include\Git.php"
73
+ $snap_script_location="C:\php-snap-build\rmtools\script\snap.php"
74
+ $branch_script_location="C:\php-snap-build\rmtools\include\Branch.php"
73
75
$config_location="C:\php-snap-build\rmtools\data\config\branch\${{ matrix.arch }}\phpmaster.ini"
74
76
((Get-Content -path $git_script_location -Raw) -replace "c:\\apps\\git\\bin\\git.exe", $git_location) | Set-Content -Path $git_script_location
75
77
((Get-Content -path $git_script_location -Raw) -replace "c:\\apps\\git\\bin\\tar.exe", $tar_location) | Set-Content -Path $git_script_location
76
78
((Get-Content -path $task_location -Raw) -replace ">> %LOG_FILE% 2<&1", "") | Set-Content -Path $task_location
79
+ ((Get-Content -path $snap_script_location -Raw) -replace "0, 7", "0, 10") | Set-Content -Path $snap_script_location
80
+ ((Get-Content -path $branch_script_location -Raw) -replace "0, 7", "0, 10") | Set-Content -Path $branch_script_location
77
81
((Get-Content -path $config_location -Raw) -replace "pgo=1", "pgo=0") | Set-Content -Path $config_location
78
82
- name : build PHP
79
83
run : |
80
84
$ErrorActionPreference = "Stop"
81
85
& 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
82
87
- name : Collect Artifacts
83
88
run : |
84
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]}
0 commit comments