Skip to content

Commit 117d80b

Browse files
committed
Only use gcc on macos GitHub runner to avoid apple-clang not finding fortran
1 parent 69a8fbb commit 117d80b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ jobs:
2929
spack -e .spack_env mirror set binary_mirror --unsigned
3030
spack mirror add --type binary --unsigned --oci-username GITHUB_USER --oci-password-variable GITHUB_TOKEN local-buildcache oci://ghcr.io/LLNL/quandary-spack-buildcache
3131
32+
- name: Add only use GCC on macOS
33+
if: runner.os == 'macOS'
34+
run: |
35+
spack compiler find /opt/homebrew/bin
36+
3237
- name: Install
3338
# explicitly use openmpi, since mpich causes rpath problems in binary
3439
run: |

0 commit comments

Comments
 (0)