Skip to content

Commit 9408bdb

Browse files
committed
Use vcvarsarm64.bat directly on ARM platform
1 parent 22d72fe commit 9408bdb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/windows.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ jobs:
111111
for /f "delims=;" %%I in ('%vswhere% -latest -property installationPath') do (
112112
set VCVARS="%%I\VC\Auxiliary\Build\vcvars64.bat"
113113
)
114+
if "${{ matrix.os }}" == "11-arm" (
115+
set VCVARS="C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsarm64.bat"
116+
)
114117
set VCVARS
115118
set | uutils sort > old.env
116119
call %VCVARS% ${{ matrix.vcvars || '' }}

0 commit comments

Comments
 (0)