Skip to content

Commit 4a66e2a

Browse files
committed
CI: Add LFortran on macOS
1 parent 6e52383 commit 4a66e2a

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,14 @@ jobs:
165165
version: latest
166166
container: ghcr.io/lfortran/lfortran:latest
167167

168+
# https://github.com/fortran-lang/homebrew-fortran
169+
- os: macos-15
170+
compiler: lfortran
171+
version: 0.67.0
172+
- os: macos-26
173+
compiler: lfortran
174+
version: 0.67.0
175+
168176
container:
169177
image: ${{ matrix.container }}
170178

@@ -265,6 +273,10 @@ jobs:
265273
retry brew install gcc@${COMPILER_VERSION} \
266274
2>&1 | perl -pe "$BREW_WARNING_FILTER" ; test ${PIPESTATUS[0]} = 0
267275
fi
276+
if [[ ${{ matrix.compiler }} == 'lfortran' ]] ; then
277+
retry brew install fortran-lang/fortran/lfortran \
278+
2>&1 | perl -pe "$BREW_WARNING_FILTER" ; test ${PIPESTATUS[0]} = 0
279+
fi
268280
269281
- name: Install LLVM flang on macOS
270282
if: contains(matrix.os, 'macos') && matrix.compiler == 'flang'

0 commit comments

Comments
 (0)