From 34279b012db48f98d4de71e28caace45b603c94e Mon Sep 17 00:00:00 2001 From: Johan Mabille Date: Fri, 28 Oct 2022 17:46:12 +0200 Subject: [PATCH] Fix compiler download --- .github/workflows/linux.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 548cefe..5f68e50 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -39,11 +39,8 @@ jobs: if: ${{ matrix.sys.compiler == 'gcc' }} run: | GCC_VERSION=${{ matrix.sys.version }} - if [[ $GCC_VERSION == '6' || $GCC_VERSION == '7' || $GCC_VERSION == '8' ]]; then - #sudo add-apt-repository ppa:ubuntu-toolchain-r/test - sudo apt-get update - sudo apt-get --no-install-suggests --no-install-recommends install g++-$GCC_VERSION - fi + sudo apt-get update + sudo apt-get --no-install-suggests --no-install-recommends install g++-$GCC_VERSION CC=gcc-$GCC_VERSION echo "CC=$CC" >> $GITHUB_ENV CXX=g++-$GCC_VERSION