Skip to content

Commit 480122b

Browse files
committed
.
1 parent 42e92c3 commit 480122b

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/wheels.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ jobs:
2727
with:
2828
fetch-depth: 0
2929

30+
- name: Set up MSVC environment
31+
uses: ilammy/msvc-dev-cmd@v1
32+
with:
33+
arch: arm64
34+
3035
- name: Build wheels
3136
uses: pypa/[email protected]
3237
with:
@@ -37,8 +42,14 @@ jobs:
3742
CIBW_PLATFORM: 'windows'
3843
CIBW_ARCHS: 'ARM64'
3944
CIBW_BEFORE_BUILD_WINDOWS: |
40-
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" arm64
41-
where cl.exe || (echo cl.exe not found && exit 1)
45+
echo "Searching for cl.exe..."
46+
where cl.exe || echo "cl.exe not found in PATH"
47+
echo "Searching for link.exe..."
48+
where link.exe || echo "link.exe not found in PATH"
49+
echo "Searching for nmake.exe..."
50+
where nmake.exe || echo "nmake.exe not found in PATH"
51+
echo "Current PATH:"
52+
echo %PATH%
4253
bash scripts/cibw_before_build_windows.sh
4354
CIBW_ENVIRONMENT_WINDOWS: |
4455
CC=cl.exe

0 commit comments

Comments
 (0)