diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index cbf48048f5..29c09220d2 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -57,6 +57,14 @@ jobs: run: | sudo apt-get -y install ${{ matrix.version.cxx }} + # TODO: Remove once issue with Ubuntu 22.04 and clang++-14 is resolved. + - name: Work around https://github.com/actions/runner-images/issues/8659 + if: matrix.version.cxx == 'clang++-14' + run: | + sudo rm -f /etc/apt/sources.list.d/ubuntu-toolchain-r-ubuntu-test-jammy.list + sudo apt-get update + sudo apt-get install -y --allow-downgrades libc6=2.35-* libc6-dev=2.35-* libstdc++6=12.3.0-* libgcc-s1=12.3.0-* + # Only install CPLEX if its URL/secret is set. - name: Install CPLEX if: ${{ env.CPLEX_URL != 0 }}