Skip to content

Commit acffdd4

Browse files
committed
Add fortran setup step for macos tests
1 parent 88ab3f3 commit acffdd4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,15 @@ jobs:
100100
steps:
101101
- name: Check out repository
102102
uses: actions/checkout@v4
103+
- name: Install Fortran compiler - MacOS
104+
# When building on Mac, we need to have a Fortran compiler
105+
if: ${{ startsWith(matrix.os, 'macos') }}
106+
uses: fortran-lang/setup-fortran@v1
107+
id: setup-fortran-macos
108+
with:
109+
# TODO: figure out whether we need/want to use other compilers too
110+
compiler: "gcc"
111+
version: "13"
103112
- uses: ./.github/actions/setup
104113
with:
105114
python-version: ${{ matrix.python-version }}

0 commit comments

Comments
 (0)