Skip to content

Commit e5ccd87

Browse files
committed
.
1 parent d78595a commit e5ccd87

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/wheels.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,6 @@ 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 # Ensure this matches your target architecture
34-
3530
- name: Build wheels
3631
uses: pypa/[email protected]
3732
with:
@@ -40,11 +35,10 @@ jobs:
4035
CIBW_BUILD: ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}
4136
CIBW_BUILD_FRONTEND: 'pip'
4237
CIBW_PLATFORM: 'auto'
43-
CIBW_BEFORE_BUILD_WINDOWS: bash scripts/cibw_before_build_windows.sh
38+
CIBW_BEFORE_BUILD_WINDOWS: |
39+
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" arm64
40+
bash scripts/cibw_before_build_windows.sh
4441
CIBW_ENVIRONMENT_WINDOWS: |
45-
PATH="%PATH%"
46-
INCLUDE="%INCLUDE%"
47-
LIB="%LIB%"
4842
CC=cl.exe
4943
CXX=cl.exe
5044
LD=link.exe

0 commit comments

Comments
 (0)