Skip to content

Commit 21c87b5

Browse files
authored
Merge pull request #30 from Da-Dylan-Ma/macos-fix-only
Fix macOS runner to macos-latest and configure cmake
2 parents fc2051d + 80de735 commit 21c87b5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/cmakeMac.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
# This workflow contains a single job called "build"
1919
build:
2020
# The type of runner that the job will run on
21-
runs-on: macos-11
21+
runs-on: macos-latest
2222

2323
# Steps represent a sequence of tasks that will be executed as part of the job
2424
steps:
@@ -44,17 +44,18 @@ jobs:
4444
run: |
4545
export LDFLAGS="-L/usr/local/opt/openblas/lib"
4646
export CPPFLAGS="-I/usr/local/opt/openblas/include"
47-
cmake -B ${{github.workspace}}/build -DNASOQ_BLAS_BACKEND=OpenBLAS -DCMAKE_BUILD_TYPE=Release
47+
cmake -B ${{github.workspace}}/build -DNASOQ_BLAS_BACKEND=OpenBLAS -DNASOQ_USE_CLAPACK=ON -DCMAKE_BUILD_TYPE=Release
4848
4949
5050
5151
- name: Build
5252
# Build your program with the given configuration
53-
run: cmake --build ${{github.workspace}}/build --target LBL_Test NASOQ_Test NASOQ_Step_Test LBLSOMOD_Test
53+
run: cmake --build ${{github.workspace}}/build --target LBL_Test NASOQ_Test NASOQ_Step_Test LBLSOMOD_Test NASOQ_Catch2_Tests
5454

5555
- name: run test 1
5656
run: |
5757
${{github.workspace}}/build/examples/LBL_Test
5858
${{github.workspace}}/build/examples/NASOQ_Test
5959
${{github.workspace}}/build/examples/NASOQ_Step_Test
6060
${{github.workspace}}/build/examples/LBLSOMOD_Test
61+
${{github.workspace}}/build/tests/NASOQ_Catch2_Tests

0 commit comments

Comments
 (0)