From 5e13f052df5d6ad1cbe6ab814f80b5254be27a60 Mon Sep 17 00:00:00 2001 From: Dan Bonachea Date: Thu, 18 Jun 2026 10:18:25 -0700 Subject: [PATCH 1/2] CI: Add coverage for GFortran 16 --- .github/workflows/build.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index edab155..7ee8a07 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,7 @@ jobs: matrix: os: [ macos-14, macos-15, macos-15-intel, macos-26, macos-26-intel, ubuntu-24.04 ] compiler: [ gfortran ] - version: [ 12, 13, 14, 15 ] + version: [ 12, 13, 14, 15, 16 ] extra_flags: [ -g ] include: @@ -210,10 +210,10 @@ jobs: - name: Install Ubuntu Native Dependencies if: ${{ contains(matrix.os, 'ubuntu') && matrix.container == '' && matrix.compiler == 'gfortran' }} run: | - sudo apt update + sudo apt-get update #sudo apt list -a 'gfortran-*' sudo apt install -y build-essential - if (( ${COMPILER_VERSION} < 15 )) ; then + if [[ ${COMPILER_VERSION} -lt 15 ]] ; then sudo apt install -y gfortran-${COMPILER_VERSION} else curl -L https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh -o install-homebrew.sh @@ -249,6 +249,9 @@ jobs: brew update # fpm binary distribution for macOS requires gfortran shared libraries from gcc@12 brew install gcc@12 + if [[ ${{ matrix.compiler }} == 'gfortran' && ${COMPILER_VERSION} -gt 15 ]] ; then + brew install gcc@${COMPILER_VERSION} + fi - name: Install LLVM flang on macOS if: contains(matrix.os, 'macos') && matrix.compiler == 'flang' From 2dc93416521b3e57201609e1d8390910c0f4974d Mon Sep 17 00:00:00 2001 From: Dan Bonachea Date: Fri, 19 Jun 2026 02:57:05 -0700 Subject: [PATCH 2/2] CI: silence Homebrew tap trust and Linux sandbox warnings --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7ee8a07..f4658e4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -220,6 +220,7 @@ jobs: chmod +x install-homebrew.sh env CI=1 ./install-homebrew.sh HOMEBREW_PREFIX="/home/linuxbrew/.linuxbrew" + sudo ${HOMEBREW_PREFIX}/bin/brew setup-sandbox ${HOMEBREW_PREFIX}/bin/brew install -v gcc@${COMPILER_VERSION} binutils ls -al ${HOMEBREW_PREFIX}/bin echo "PATH=${HOMEBREW_PREFIX}/bin:${PATH}" >> "$GITHUB_ENV" @@ -246,6 +247,8 @@ jobs: - name: Install macOS Dependencies 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/#*.warning./warn: /' ; brew trust azure/bicep ) brew update # fpm binary distribution for macOS requires gfortran shared libraries from gcc@12 brew install gcc@12