From 5ef1e7e54fdf4ea8655070229418ab80785e2c29 Mon Sep 17 00:00:00 2001 From: Pierre Blanchard Date: Fri, 25 Oct 2024 09:29:48 +0000 Subject: [PATCH] Keep using default compiler on Arm-hosted runners. --- .github/workflows/build_and_test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 3a6ffbd3..ac6c2c53 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -54,7 +54,10 @@ jobs: sudo apt-get install -y -qq build-essential cmake curl ninja-build libgmp-dev libmpfr-dev libssl-dev # Needed for llvm builds as well for target libraries + # Use default gcc version on Arm-hosted runners, ie. gcc 11, + # since versions of 12+ are not recent enough on Ubuntu 22.04. - name: Install gcc + if: ${{ matrix.os == 'ubuntu-24.04' }} run: | sudo apt-get install -y -qq gcc-${GCC_VERSION}