Skip to content

Commit

Permalink
Merge pull request #30 from Da-Dylan-Ma/macos-fix-only
Browse files Browse the repository at this point in the history
Fix macOS runner to macos-latest and configure cmake
  • Loading branch information
cheshmi authored Nov 2, 2024
2 parents fc2051d + 80de735 commit 21c87b5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/cmakeMac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: macos-11
runs-on: macos-latest

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

- name: run test 1
run: |
${{github.workspace}}/build/examples/LBL_Test
${{github.workspace}}/build/examples/NASOQ_Test
${{github.workspace}}/build/examples/NASOQ_Step_Test
${{github.workspace}}/build/examples/LBLSOMOD_Test
${{github.workspace}}/build/tests/NASOQ_Catch2_Tests

0 comments on commit 21c87b5

Please sign in to comment.