From 8e5f12506d9341fab2a5f8d1f0ea17c2f9d7e006 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Poulhi=C3=A8s?= Date: Tue, 26 Nov 2024 19:10:47 +0100 Subject: [PATCH] try something else --- .github/workflows/ccpp.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 1623bc3af426..d08d485d60fd 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -268,8 +268,8 @@ jobs: build-and-check-gcc-5: - runs-on: ubuntu-22.04 - container: ubuntu:18.04 + runs-on: ubuntu-20.04 + ##container: ubuntu:18.04 env: # otherwise we hang when installing tzdata DEBIAN_FRONTEND: noninteractive @@ -278,8 +278,10 @@ jobs: - name: Install Deps run: | - apt-get update; - apt-get install -y \ + echo "deb http://old-releases.ubuntu.com/ubuntu zesty main" | sudo tee /etc/apt/sources.list.d/zesty.list; + sudo apt-add-repository -r universe; + sudo apt-get update; + sudo apt-get install -y \ curl \ automake \ autoconf \ @@ -291,10 +293,10 @@ jobs: libmpfr-dev \ libmpc-dev \ build-essential \ - gcc-5 \ - g++-5 \ - gcc-5-multilib \ - g++-5-multilib \ + gcc \ + g++ \ + gcc-multilib \ + g++-multilib \ dejagnu; # install Rust directly using rustup curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.72.0;