Skip to content

Commit 847521e

Browse files
committed
Update ci.yml
1 parent 5bb81c9 commit 847521e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ jobs:
2424
compiler: ${{ matrix.toolchain.compiler }}
2525
version: ${{ matrix.toolchain.version }}
2626

27+
- name: Set correct Fortran compiler on macOS
28+
if: matrix.os == 'macos-latest'
29+
run: echo "FPM_FC=gfortran-${{ matrix.toolchain.version }}" >> $GITHUB_ENV
30+
2731
- name: Setup fpm
2832
uses: fortran-lang/setup-fpm@v6.1.0
2933
with:

0 commit comments

Comments
 (0)