Skip to content

Commit 9b0992a

Browse files
Copilotalexlib
andcommitted
Fix: Only install scipy-openblas and delvewheel on Windows
Co-authored-by: alexlib <747110+alexlib@users.noreply.github.com>
1 parent 933e15f commit 9b0992a

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/cibuildwheel.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,16 @@ jobs:
2222
with:
2323
python-version: "3.11"
2424

25-
- name: Install cibuildwheel and build dependencies
25+
- name: Install cibuildwheel
2626
run: |
2727
python -m pip install --upgrade pip
28+
python -m pip install cibuildwheel
29+
30+
- name: Install Windows build dependencies
31+
if: runner.os == 'Windows'
32+
run: |
2833
# Install these on the host so cibuildwheel can resolve the paths
29-
python -m pip install cibuildwheel scipy-openblas delvewheel
34+
python -m pip install scipy-openblas delvewheel
3035
3136
- name: Build wheels
3237
run: python -m cibuildwheel --output-dir wheelhouse

0 commit comments

Comments
 (0)