Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix macOS runner to macos-latest and configure cmake #30

Merged
merged 3 commits into from
Nov 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading