From 44f94c3a058a05a7ad59099c38bef552015679cf Mon Sep 17 00:00:00 2001 From: Etan Kissling Date: Tue, 15 Oct 2024 17:10:30 +0200 Subject: [PATCH] Replace `apt-fast` with `apt-get` (#90) `apt-fast` was removed from GitHub with Ubuntu 24.04: - https://github.com/actions/runner-images/issues/10003 For compatibility, switch back to `apt-get`. --- .github/workflows/ci.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 545ae25..7bf027b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,19 +44,12 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: Set GCC 10 as default compiler (Linux) - if: runner.os == 'Linux' && matrix.target.cpu != 'i386' - run: | - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 \ - --slave /usr/bin/g++ g++ /usr/bin/g++-10 \ - --slave /usr/bin/gcov gcov /usr/bin/gcov-10 - - name: Install build dependencies (Linux i386) if: runner.os == 'Linux' && matrix.target.cpu == 'i386' run: | sudo dpkg --add-architecture i386 - sudo apt-fast update -qq - sudo DEBIAN_FRONTEND='noninteractive' apt-fast install \ + sudo apt-get update -qq + sudo DEBIAN_FRONTEND='noninteractive' apt-get install \ --no-install-recommends -yq gcc-10-multilib g++-10-multilib \ libssl-dev:i386 linux-libc-dev:i386 mkdir -p external/bin