From 7268e539968de227d49ffc66adb79e558502743e Mon Sep 17 00:00:00 2001 From: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Tue, 16 May 2023 20:11:02 +0100 Subject: patch 9.0.1562: mixing package managers is not a good idea Problem: Mixing package managers is not a good idea. Solution: Install gcc 13 with apt-get. (closes #12405) --- .github/workflows/ci.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to '.github') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bd903dc93e..4e6f23ba80 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: env: CC: ${{ matrix.compiler }} - GCC_VER: 12 + GCC_VER: 13 CLANG_VER: 16 TEST: test SRCDIR: ./src @@ -98,10 +98,9 @@ jobs: - name: Install gcc-${{ env.GCC_VER }} if: matrix.compiler == 'gcc' run: | - eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" - brew install gcc@${{ env.GCC_VER }} - sudo update-alternatives --install /usr/bin/gcc gcc /home/linuxbrew/.linuxbrew/bin/gcc-${{ env.GCC_VER }} 100 - sudo update-alternatives --set gcc /home/linuxbrew/.linuxbrew/bin/gcc-${{ env.GCC_VER }} + sudo apt-get install -y gcc-${{ env.GCC_VER }} + sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${{ env.GCC_VER }} 100 + sudo update-alternatives --set gcc /usr/bin/gcc-${{ env.GCC_VER }} - name: Install clang-${{ env.CLANG_VER }} if: matrix.compiler == 'clang' -- cgit v1.2.3