File tree Expand file tree Collapse file tree 4 files changed +9
-6
lines changed
Expand file tree Collapse file tree 4 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 4141
4242 build-windows :
4343 name : build-windows
44- runs-on : win-2019-16core
45-
44+ runs-on : windows-2022-32core
4645 steps :
4746 - uses : actions/checkout@v4.1.6
4847 with :
Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ jobs:
226226
227227 build-windows :
228228 name : build-windows
229- runs-on : windows-2019 -32core
229+ runs-on : windows-2022 -32core
230230 if : github.event_name == 'release' || github.event.inputs.platform == 'windows'
231231
232232 steps :
Original file line number Diff line number Diff line change 1010jobs :
1111 build-windows :
1212 name : build-windows
13- runs-on : windows-2019 -32core
13+ runs-on : windows-2022 -32core
1414
1515 steps :
1616 - uses : actions/checkout@v4.1.6
Original file line number Diff line number Diff line change @@ -47,7 +47,11 @@ if "%RUNNING_LOCALLY%" == "1" (
4747 set " PATH = %PATH% ;C:\Program Files\7-Zip"
4848)
4949
50- call " C:\Program Files (x86)\Microsoft Visual Studio\2019\%VISUAL_STUDIO_VERSION% \VC\Auxiliary\Build\vcvars64.bat"
50+ :: Outdated windows-2019 pattern
51+ :: call "C:\Program Files (x86)\Microsoft Visual Studio\2019\%VISUAL_STUDIO_VERSION%\VC\Auxiliary\Build\vcvars64.bat"
52+
53+ call " C:\Program Files\Microsoft Visual Studio\2022\%VISUAL_STUDIO_VERSION% \VC\Auxiliary\Build\vcvars64.bat"
54+ echo Passed vcvars64.bat
5155if errorlevel 1 exit /b %errorlevel%
5256
5357msbuild /version
@@ -107,7 +111,7 @@ cd out\cmake-%variant%
107111if errorlevel 1 exit /b %errorlevel%
108112
109113cmake ..\.. ^
110- -G " Visual Studio 16 2019 " ^
114+ -G " Visual Studio 17 2022 " ^
111115 -A x64 ^
112116 %flag% ^
113117 -DCMAKE_INSTALL_PREFIX=..\%variant% ^
You can’t perform that action at this time.
0 commit comments