Skip to content

Commit 99a1675

Browse files
committed
windows-11-arm has only C drive
1 parent 9e3c120 commit 99a1675

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/windows.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
GITPULLOPTIONS: --no-tags origin ${{ github.ref }}
6464
OS_VER: windows-${{ matrix.os < 2022 && '2019' || matrix.os }}
6565
VCPKG_DEFAULT_TRIPLET: ${{ matrix.target || 'x64' }}-windows
66+
RUBY_OPT_DIR: ${{ matrix.os == '11-arm' && 'C' || 'D' }}:/a/ruby/ruby/src/vcpkg_installed/%VCPKG_DEFAULT_TRIPLET%
6667

6768
steps:
6869
- run: md build
@@ -146,7 +147,7 @@ jobs:
146147
- name: Configure
147148
run: >-
148149
../src/win32/configure.bat --disable-install-doc
149-
--with-opt-dir=D:/a/ruby/ruby/src/vcpkg_installed/%VCPKG_DEFAULT_TRIPLET%
150+
--with-opt-dir=%RUBY_OPT_DIR%
150151
--with-gmp
151152
152153
- run: nmake prepare-vcpkg

0 commit comments

Comments
 (0)