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}