Skip to content

Commit b3fa301

Browse files
committed
Try choco
1 parent cd7aad4 commit b3fa301

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/build_wheels.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ jobs:
2727
python-version: 3.12
2828

2929
- name: Build wheels on Windows
30-
run: pipx run cibuildwheel --output-dir wheelhouse
30+
run: >
31+
choco install openblas -y &&
32+
python install_KLU_Sundials.py &&
33+
pipx run cibuildwheel --output-dir wheelhouse
3134
env:
3235
CIBW_ENVIRONMENT: >
3336
PYBAMMSOLVERS_USE_VCPKG=ON
@@ -37,9 +40,7 @@ jobs:
3740
CMAKE_GENERATOR="Visual Studio 17 2022"
3841
CMAKE_GENERATOR_PLATFORM=x64
3942
CIBW_ARCHS: AMD64
40-
CIBW_BEFORE_BUILD: >
41-
python -m pip install cmake setuptools delvewheel &&
42-
python install_KLU_Sundials.py
43+
CIBW_BEFORE_BUILD: python -m pip install cmake setuptools delvewheel
4344
CIBW_REPAIR_WHEEL_COMMAND: delvewheel repair --add-path C:/Windows/System32 -w {dest_dir} {wheel}
4445
CIBW_TEST_EXTRAS: "dev"
4546
CIBW_TEST_COMMAND: |

0 commit comments

Comments
 (0)