-
Notifications
You must be signed in to change notification settings - Fork 137
45 lines (39 loc) · 1.22 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
name: Build and Test
on: [push, pull_request]
jobs:
linux:
strategy:
fail-fast: false
matrix:
long: [0, 1]
lapack: [0, 1]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: sudo apt-get install libopenblas-dev liblapack-dev
- run: make DLONG=${{ matrix.long }} USE_LAPACK=${{ matrix.lapack }}
- run: make test DLONG=${{ matrix.long }} USE_LAPACK=${{ matrix.lapack }}
- run: out/run_tests_direct # test direct solver
- run: out/run_tests_indirect # test indirect solver
# runs-on: windows-latest
# steps:
# - uses: actions/checkout@v4
# - run: choco install clapack
# - run: make
# - run: make test
# - run: test/run_tests
mac:
strategy:
fail-fast: false
matrix:
long: [0, 1]
lapack: [0, 1]
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- run: brew install openblas lapack
- run: make DLONG=${{ matrix.long }} USE_LAPACK=${{ matrix.lapack }}
- run: make test DLONG=${{ matrix.long }} USE_LAPACK=${{ matrix.lapack }}
- run: out/run_tests_direct # test direct solver
- run: out/run_tests_indirect # test indirect solver