-
Notifications
You must be signed in to change notification settings - Fork 136
39 lines (35 loc) · 962 Bytes
/
buildpp.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
---
name: Build C++ # test that we can compile SCS with C++ compiler
on: [push, pull_request]
jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
sudo apt-get install libopenblas-dev liblapack-dev
export CC=g++
echo $CC
make
make test
out/run_tests_direct # test direct solver
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:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- run: |
brew install openblas lapack
export CC=clang++
echo $CC
make
make test
out/run_tests_direct # test direct solver
out/run_tests_indirect # test indirect solver