Skip to content

Commit da3c576

Browse files
committed
modify path instead
1 parent 3839134 commit da3c576

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/actions/test-extended/action.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ runs:
2020
shell: bash
2121
run: |
2222
brew install netcdf-fortran libevent
23-
if brew list --formula gcc &>/dev/null; then
24-
brew unlink gcc
25-
fi
2623
nc-config --all
2724
nf-config --all
2825
@@ -32,6 +29,11 @@ runs:
3229
compiler: gcc
3330
version: ${{ runner.os == 'macOS' && '15' || '13' }}
3431

32+
- name: Prioritize pinned compiler on PATH (macOS)
33+
if: runner.os == 'macOS'
34+
shell: bash
35+
run: echo "/usr/local/bin" >> "$GITHUB_PATH"
36+
3537
- name: Build OpenMPI (macOS)
3638
if: runner.os == 'macOS'
3739
shell: bash

0 commit comments

Comments
 (0)