summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2025-04-16 17:54:08 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2025-04-21 12:25:41 +0900
commit9408bdb571c7a16153f12daf30e54fe025d7e9a0 (patch)
treebfc3e554d4b2afc4b03eccf14fb1c3adf6244a91
parent22d72fed56a54e4a4fdc3845e89feb1201dc26b0 (diff)
Use vcvarsarm64.bat directly on ARM platform
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/13118
-rw-r--r--.github/workflows/windows.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 97e34d1676..1e47d2b533 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -111,6 +111,9 @@ jobs:
for /f "delims=;" %%I in ('%vswhere% -latest -property installationPath') do (
set VCVARS="%%I\VC\Auxiliary\Build\vcvars64.bat"
)
+ if "${{ matrix.os }}" == "11-arm" (
+ set VCVARS="C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsarm64.bat"
+ )
set VCVARS
set | uutils sort > old.env
call %VCVARS% ${{ matrix.vcvars || '' }}