From 739b05a3dd4ef97d07e0cbf1e02b828a52e04cb0 Mon Sep 17 00:00:00 2001 From: Dan Bonachea Date: Fri, 19 Jun 2026 07:15:27 -0700 Subject: [PATCH 1/2] CI: Add coverage for GCC 16 --- .github/workflows/build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 514ec1075..cbc61a99a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,7 +60,7 @@ jobs: matrix: os: [ macos-14, macos-15, macos-15-intel, macos-26, macos-26-intel, ubuntu-24.04 ] compiler: [ gcc ] - version: [ 12, 13, 14, 15 ] + version: [ 12, 13, 14, 15, 16 ] extra_flags: [ -g ] include: @@ -163,7 +163,7 @@ jobs: sudo apt update #sudo apt list -a 'gcc-*' sudo apt install -y build-essential autoconf2.69 automake - if (( ${COMPILER_VERSION} < 15 )) ; then + if [[ ${COMPILER_VERSION} -lt 15 ]] ; then sudo apt install -y gcc-${COMPILER_VERSION} else curl -L https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh -o install-homebrew.sh @@ -195,6 +195,9 @@ jobs: if [[ "${{ matrix.compiler }}@${{ matrix.version }}" == gcc@12 ]] ; then brew install gcc@12 fi + if [[ ${{ matrix.compiler }} == 'gcc' && ${COMPILER_VERSION} -gt 15 ]] ; then + brew install gcc@${COMPILER_VERSION} + fi - name: Install LLVM on macOS if: contains(matrix.os, 'macos') && matrix.compiler == 'clang' From 656b409cb7964226842031667d3adc12ef1d6b49 Mon Sep 17 00:00:00 2001 From: Dan Bonachea Date: Fri, 19 Jun 2026 05:25:25 -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 cbc61a99a..78ce5ed2a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -170,6 +170,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" @@ -190,6 +191,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 brew install automake # autoconf if [[ "${{ matrix.compiler }}@${{ matrix.version }}" == gcc@12 ]] ; then