From ffb87076ffb6384ec3d8117ccda3a1db9db59937 Mon Sep 17 00:00:00 2001 From: Alexey Rusakov Date: Tue, 31 Oct 2023 00:21:29 +0100 Subject: [PATCH] CI: Work around broken Clang+libstdc++ combination To be removed once https://github.com/actions/runner-images/issues/8659 gets fixed. --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 054f633ad..9325cc4b0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,6 +61,10 @@ jobs: if: startsWith(matrix.os, 'ubuntu') run: | COMMON_PKGS="libolm-dev ninja-build valgrind gnome-keyring" + # Workaround for https://github.com/actions/runner-images/issues/8659 + sudo rm -f /etc/apt/sources.list.d/ubuntu-toolchain-r-ubuntu-test-jammy.list + COMMON_PKGS="--allow-downgrades libc6=2.35-0ubuntu3.4 libc6-dev=2.35-0ubuntu3.4 libstdc++6=12.3.0-1ubuntu1~22.04 libgcc-s1=12.3.0-1ubuntu1~22.04 $COMMON_PKGS" + # End of workaround sudo apt-get -qq update sudo apt-get -qq install $COMMON_PKGS \ ${{ startsWith(matrix.qt-version, '5')