Skip to content

Commit

Permalink
MacOS precision matrix (#738)
Browse files Browse the repository at this point in the history
* osx precision matrix

Signed-off-by: Steven Hahn <[email protected]>
  • Loading branch information
quantumsteve authored Nov 20, 2024
1 parent 57325b8 commit ad81c97
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ jobs:
build:
strategy:
matrix:
prec: [float, double, float\;double]
os: [macos-13, macos-14]
runs-on: ${{matrix.os}}
steps:
Expand All @@ -22,13 +23,13 @@ jobs:
run: cmake -E make_directory build
- name: Configure Default
working-directory: ${{runner.workspace}}/asgard/build
run: cmake -DCMAKE_BUILD_TYPE=Release -DASGARD_RECOMMENDED_DEFAULTS=ON -DASGARD_USE_PCH=ON -DASGARD_PRECISIONS=double ../
run: cmake -DCMAKE_BUILD_TYPE=Release -DASGARD_RECOMMENDED_DEFAULTS=ON -DASGARD_USE_PCH=ON -DASGARD_PRECISIONS=${{matrix.prec}} ../
- name: Build
working-directory: ${{runner.workspace}}/asgard/build
run: make -j VERBOSE=1
- name: Test
working-directory: ${{runner.workspace}}/asgard/build
run: make test
run: ctest --output-on-failure
- name: Show Log
if: failure()
working-directory: ${{runner.workspace}}/asgard/build/Testing/Temporary
Expand Down

0 comments on commit ad81c97

Please sign in to comment.