From ed3a3a703857d39d32586cbbb8f746bf577260b8 Mon Sep 17 00:00:00 2001 From: Dan Bonachea Date: Thu, 29 Oct 2026 13:31:24 -0700 Subject: [PATCH 1/4] CI: Silence all of Homebrew's intrusive/irritating nonsense warnings Homebrew is waaaaaay too spammy with their warning policy and we're fed up with seeing their harmless warnings polluting our workflow summary. Downgrade all Homebrew warnings to only appear in the log. --- .github/workflows/build.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6943c0999..5d6f4f7af 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -170,7 +170,7 @@ jobs: FFLAGS: ${{ matrix.extra_flags }} FPM_FLAGS: --profile release --verbose CURL_OPTIONS: --retry 10 --retry-all-errors --fail -L - BREW_WARNING_FILTER: 's/^[[:punct:]]*warning[[:punct:]]*(You are using macOS)/warn: \1/i' + BREW_WARNING_FILTER: 's/^[[:punct:]]+warning[[:punct:]]+/warning: /i' steps: - name: Checkout code @@ -210,7 +210,8 @@ jobs: chmod +x install-homebrew.sh env CI=1 ./install-homebrew.sh HOMEBREW_PREFIX="/home/linuxbrew/.linuxbrew" - retry ${HOMEBREW_PREFIX}/bin/brew install -v gcc@${COMPILER_VERSION} binutils + retry ${HOMEBREW_PREFIX}/bin/brew install -v gcc@${COMPILER_VERSION} binutils \ + 2>&1 | perl -pe "$BREW_WARNING_FILTER" ; test ${PIPESTATUS[0]} = 0 ls -al ${HOMEBREW_PREFIX}/bin echo "PATH=${HOMEBREW_PREFIX}/bin:${PATH}" >> "$GITHUB_ENV" : Homebrew GCC@15 needs binutils 2.44+ @@ -238,7 +239,8 @@ jobs: if: ${{ contains(matrix.os, 'macos') }} run: | # silence Homebrew tap trust warnings: - (set +e ; brew untap -f aws/tap hashicorp/tap 2>&1 | perl -pe 's/^::*//;s/^##*//' ; 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 if [[ -z "${{ matrix.brew_via_install }}" ]] ; then @@ -251,7 +253,8 @@ jobs: - name: Install macOS Dependencies if: contains(matrix.os, 'macos') run: | - retry brew update + retry brew update \ + 2>&1 | perl -pe "$BREW_WARNING_FILTER" ; test ${PIPESTATUS[0]} = 0 # fpm binary distribution for macOS requires gfortran shared libraries from gcc@12 retry brew install gcc@12 \ 2>&1 | perl -pe "$BREW_WARNING_FILTER" ; test ${PIPESTATUS[0]} = 0 From 7293c6b38dcea3e1b73015b48a45db4dfc8fb0dd Mon Sep 17 00:00:00 2001 From: Dan Bonachea Date: Thu, 29 Oct 2026 13:38:20 -0700 Subject: [PATCH 2/4] CI: Retire macos-14 coverage GitHub is retiring the macos-14 hosted runner --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5d6f4f7af..07ac0751f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,7 +25,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ macos-14, macos-15, macos-15-intel, macos-26, macos-26-intel, ubuntu-24.04, ubuntu-26.04-arm ] + os: [ macos-15, macos-15-intel, macos-26, macos-26-intel, ubuntu-24.04, ubuntu-26.04-arm ] compiler: [ gfortran ] version: [ 13, 14, 15, 16 ] extra_flags: [ -g -O3 ] From ef4d77316a15e423e949f5cc7d38fe31e0b9b57e Mon Sep 17 00:00:00 2001 From: Dan Bonachea Date: Thu, 29 Oct 2026 13:56:07 -0700 Subject: [PATCH 3/4] Add LFortran 0.67, 0.68 --- .github/workflows/build.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 07ac0751f..c956c3c53 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -156,6 +156,14 @@ jobs: compiler: lfortran version: 0.66.0 container: ghcr.io/lfortran/lfortran:v0.66.0 + - os: ubuntu-22.04 + compiler: lfortran + version: 0.67.0 + container: ghcr.io/lfortran/lfortran:v0.67.0 + - os: ubuntu-22.04 + compiler: lfortran + version: 0.68.0 + container: ghcr.io/lfortran/lfortran:v0.68.0 - os: ubuntu-22.04 compiler: lfortran version: latest From d073b464e232bf7975cd4c6f0c89fc943acaf032 Mon Sep 17 00:00:00 2001 From: Dan Bonachea Date: Thu, 29 Oct 2026 14:11:28 -0700 Subject: [PATCH 4/4] CI: Add LFortran on macOS --- .github/workflows/build.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c956c3c53..bebd36070 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -129,6 +129,14 @@ jobs: # --- LFortran coverage --- + # https://github.com/fortran-lang/homebrew-fortran + - os: macos-15 + compiler: lfortran + version: brew + - os: macos-26 + compiler: lfortran + version: brew + # https://hub.docker.com/r/phhargrove/lfortran/tags - os: ubuntu-24.04 compiler: lfortran @@ -270,6 +278,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 LLVM flang on macOS if: contains(matrix.os, 'macos') && matrix.compiler == 'flang'