Skip to content

Commit ec4bb4c

Browse files
Fix failing Windows wheel builds (#55)
* Try building with old Vcpkg * Run PyBaMM test suite for Windows wheels * Remove comments from CIBW_TEST_COMMAND * Make PyBaMM tests actually run * Combine all test commands with `&&` * Revert "Combine all test commands with `&&`" This reverts commit 95450f2. * Revert "Make PyBaMM tests actually run" This reverts commit fff2cdd. * Revert "Remove comments from CIBW_TEST_COMMAND" This reverts commit dfc73ec. * Revert "Run PyBaMM test suite for Windows wheels" This reverts commit 669e26b.
1 parent e2cf31a commit ec4bb4c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/build_wheels.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,16 @@ jobs:
2626
with:
2727
python-version: 3.12
2828

29+
# Pin to 2024.12.16 to avoid issues with finding SuiteSparse in manifest mode
30+
# after SuiteSparse was split into subpackages in recent vcpkg releases.
31+
- name: Install vcpkg on Windows
32+
run: |
33+
cd C:\
34+
rm -r -fo 'C:\vcpkg'
35+
git clone https://github.com/microsoft/vcpkg --branch 2024.12.16
36+
cd vcpkg
37+
.\bootstrap-vcpkg.bat
38+
2939
- name: Build wheels on Windows
3040
run: pipx run cibuildwheel --output-dir wheelhouse
3141
env:

0 commit comments

Comments
 (0)