Skip to content

Commit 42d120d

Browse files
committed
Build: Work around incomplete msvc path setup on Windows.
1 parent 97d508c commit 42d120d

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/wheels.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,11 @@ jobs:
141141
with:
142142
arch: x86
143143

144+
- name: Fix link in Windows
145+
if: contains(matrix.os, 'windows')
146+
# Prevent 'link' from being found before 'link.exe'
147+
run: rm -f /usr/bin/link
148+
144149
- name: Build wheels
145150
uses: pypa/cibuildwheel@v3.3.1
146151
with:
@@ -166,8 +171,8 @@ jobs:
166171
os:
167172
- 'ubuntu-latest'
168173
- 'ubuntu-24.04-arm'
169-
#- 'windows-latest'
170-
#- 'windows-11-arm'
174+
- 'windows-latest'
175+
- 'windows-11-arm'
171176
- 'macos-latest'
172177
lapiversion:
173178
- "3.9"
@@ -208,6 +213,11 @@ jobs:
208213
with:
209214
arch: x86
210215

216+
- name: Fix link in Windows
217+
if: contains(matrix.os, 'windows')
218+
# Prevent 'link' from being found before 'link.exe'
219+
run: rm -f /usr/bin/link
220+
211221
- name: Build wheels
212222
uses: pypa/cibuildwheel@v3.3.1
213223
env:

0 commit comments

Comments
 (0)