File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -24,13 +24,13 @@ jobs:
2424 shell : cmd
2525 run : |
2626 REM Find vcvarsall.bat dynamically - check both possible vswhere.exe locations
27- set "VSWHERE_X86 =C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe"
28- set "VSWHERE_ARM64 =C:\Program Files\Microsoft Visual Studio\Installer\vswhere.exe"
27+ set "VSWHERE_LEGACY =C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe"
28+ set "VSWHERE_NATIVE =C:\Program Files\Microsoft Visual Studio\Installer\vswhere.exe"
2929
30- if exist "%VSWHERE_X86 %" (
31- set "VSWHERE_PATH=%VSWHERE_X86 %"
32- ) else if exist "%VSWHERE_ARM64 %" (
33- set "VSWHERE_PATH=%VSWHERE_ARM64 %"
30+ if exist "%VSWHERE_LEGACY %" (
31+ set "VSWHERE_PATH=%VSWHERE_LEGACY %"
32+ ) else if exist "%VSWHERE_NATIVE %" (
33+ set "VSWHERE_PATH=%VSWHERE_NATIVE %"
3434 ) else (
3535 echo Error: vswhere.exe not found in either location.
3636 exit /b 1
5050
5151 set outName=win-witr-${{ matrix.arch }}.exe
5252 echo Compiling %outName%...
53- cl /O2 /Ot / GL /std:c++20 /EHsc main.cpp /DUNICODE /D_UNICODE /Fe:%outName%
53+ cl /O2 /GL /std:c++20 /EHsc main.cpp /DUNICODE /D_UNICODE /Fe:%outName%
5454 if errorlevel 1 exit /b 1
5555
5656 - name : Run Tests for ${{ matrix.arch }}
You can’t perform that action at this time.
0 commit comments