Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,14 @@ jobs:

# --- lfortran coverage ---

# https://github.com/fortran-lang/homebrew-fortran
- os: macos-15
compiler: lfortran
version: 0.67.0
- os: macos-26
compiler: lfortran
version: 0.67.0

# https://github.com/lfortran/lfortran/pkgs/container/lfortran
- os: ubuntu-22.04
compiler: lfortran
Expand Down Expand Up @@ -331,6 +339,9 @@ jobs:
run: |
retry apt update
retry apt install -y build-essential pkg-config make git curl cmake
if [[ ${{ matrix.compiler }} == 'lfortran' ]] ; then
retry apt install -y llvm clang
fi

- name: Install Ubuntu Native Dependencies
if: ${{ contains(matrix.os, 'ubuntu') && matrix.container == '' && !matrix.brew_via_install }}
Expand Down Expand Up @@ -361,7 +372,7 @@ jobs:
if: ${{ contains(matrix.os, 'macos') && !matrix.macports }}
run: |
# silence Homebrew tap trust warnings:
(set +e ; brew untap -f aws/tap hashicorp/tap ; brew trust azure/bicep ; echo ) \
(set +e ; brew untap -f aws/tap hashicorp/tap ; brew trust azure/bicep ) \
2>&1 | perl -pe "$BREW_WARNING_FILTER"
# set some Homebrew knobs to accelerate installation
# but only when we are not simulating the user environment brew-via-install workflow
Expand All @@ -388,6 +399,10 @@ jobs:
retry brew install gcc@${COMPILER_VERSION} \
2>&1 | perl -pe "$BREW_WARNING_FILTER" ; test ${PIPESTATUS[0]} = 0
fi
if [[ ${{ matrix.compiler }} == 'lfortran' ]] ; then
retry brew install fortran-lang/fortran/lfortran \
2>&1 | perl -pe "$BREW_WARNING_FILTER" ; test ${PIPESTATUS[0]} = 0
fi

- name: Install macOS Dependencies (Macports)
if: matrix.macports
Expand Down Expand Up @@ -482,8 +497,6 @@ jobs:
- name: Setup lfortran dependencies and variables
if: ${{ matrix.compiler == 'lfortran' }}
run: |
retry apt update
retry apt install -y llvm clang
if [ ${{ contains(matrix.container, 'ghcr.io/lfortran') }} = true ]; then
ls -alR /app
# Add container lfortran to PATH:
Expand Down
Loading