Skip to content

Commit 9a8b07e

Browse files
committed
added windows
1 parent 20660c1 commit 9a8b07e

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/cibuildwheel.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
os: [ubuntu-latest, macos-latest]
15+
os: [ubuntu-latest, macos-latest, windows-latest]
1616
steps:
1717
- name: Checkout
1818
uses: actions/checkout@v4
@@ -29,6 +29,14 @@ jobs:
2929
env:
3030
CIBW_BEFORE_ALL_MACOS: brew install openblas
3131
CIBW_ENVIRONMENT_MACOS: EASYSBA_LAPACK_LIBS=openblas
32+
CIBW_BEFORE_ALL_WINDOWS: >-
33+
git clone https://github.com/microsoft/vcpkg.git C:\\vcpkg &&
34+
C:\\vcpkg\\bootstrap-vcpkg.bat -disableMetrics &&
35+
C:\\vcpkg\\vcpkg.exe install openblas:x64-windows
36+
CIBW_ENVIRONMENT_WINDOWS: >-
37+
EASYSBA_LAPACK_LIBS=openblas
38+
INCLUDE=C:\\vcpkg\\installed\\x64-windows\\include
39+
LIB=C:\\vcpkg\\installed\\x64-windows\\lib
3240
run: python -m cibuildwheel --output-dir wheelhouse
3341

3442
- name: Upload wheels

0 commit comments

Comments
 (0)