Skip to content

Commit 009a231

Browse files
committed
attempt to fix windows
1 parent 3c9f8f9 commit 009a231

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,10 @@ jobs:
102102
if: matrix.os == 'macos-latest'
103103

104104
- name: Build (Windows)
105-
run: make build-cibw
105+
run: |
106+
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
107+
make build-cibw
108+
shell: cmd
106109
env:
107110
CIBW_BUILD: "${{ matrix.cibuildwheel }}-win_amd64"
108111
CIBW_BEFORE_ALL: call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"

0 commit comments

Comments
 (0)