Skip to content

Commit c65734c

Browse files
committed
Add fortran compiler install for mac builds
1 parent 09ef8fe commit c65734c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/build_wheels.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,16 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v5
1717

18+
- name: Install Fortran compiler
19+
# When building from source, ensure we have a Fortran compiler
20+
if: ${{ startsWith(matrix.os, 'macos') }}
21+
uses: fortran-lang/setup-fortran@v1
22+
id: setup-fortran
23+
with:
24+
# TODO: figure out whether we need to use other compilers too
25+
compiler: "gcc"
26+
version: "13"
27+
1828
- name: Build wheels
1929
uses: pypa/[email protected]
2030
# env:

0 commit comments

Comments
 (0)