Skip to content

Commit 029b1f1

Browse files
committed
.github/workflows/dist.yml [Windows]: Build cysignals explicitly with VS
1 parent c5afd07 commit 029b1f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/dist.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ jobs:
172172
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9"
173173
# Run before wheel build
174174
CIBW_BEFORE_BUILD_WINDOWS: |
175-
pip install delvewheel
175+
pip install delvewheel build && (cd / && python3 -m build -Csetup-args="--vsenv" cysignals)
176176
# Environment during wheel build
177177
# PYTHONUTF8=1 is for delvewheel
178178
CIBW_ENVIRONMENT: >-
@@ -263,13 +263,13 @@ jobs:
263263
config.status
264264
sage-local
265265
key: >-
266-
${{ runner.os }}-cibuildwheel-${{ matrix.arch }}-build=${{
266+
${{ matrix.os }}-cibuildwheel-${{ matrix.arch }}-build=${{
267267
hashFiles('build',
268268
'configure.ac',
269269
'm4')
270270
}}
271271
restore-keys: |
272-
${{ runner.os }}-cibuildwheel-${{ matrix.arch }}
272+
${{ matrix.os }}-cibuildwheel-${{ matrix.arch }}
273273
274274
- name: Unpack and prepare
275275
id: unpack

0 commit comments

Comments
 (0)