Skip to content

Commit ac3da81

Browse files
committed
try to add back windows
1 parent 50933b5 commit ac3da81

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/cmake.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,26 @@ jobs:
1111
runs-on: ${{ matrix.os }}
1212
strategy:
1313
matrix:
14-
os: [ubuntu-latest, macos-latest]
15-
# os: [ubuntu-latest, macos-latest, windows-latest]
14+
os: [ubuntu-latest, macos-latest, windows-latest]
1615
build_type: [Release, Debug]
17-
16+
1817
steps:
1918
- uses: actions/checkout@v3
2019

2120
- name: Install BLAS (Ubuntu)
2221
if: runner.os == 'Linux'
2322
run: sudo apt-get update && sudo apt-get install -y libopenblas-dev
2423

24+
- name: Install OpenBLAS (Windows)
25+
if: runner.os == 'Windows'
26+
run: vcpkg install openblas:x64-windows
27+
2528
- name: Configure CMake
26-
run: cmake -B build -S . -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_VERBOSE_MAKEFILE=ON
29+
run: >
30+
cmake -B build -S .
31+
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
32+
-DCMAKE_VERBOSE_MAKEFILE=ON
33+
${{ runner.os == 'Windows' && '-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake' || '' }}
2734
2835
- name: Build
2936
run: cmake --build build --config ${{ matrix.build_type }}

0 commit comments

Comments
 (0)