Skip to content

Commit

Permalink
CI: workaround for actions/runner-images#8659
Browse files Browse the repository at this point in the history
  • Loading branch information
mwtoews committed Nov 6, 2023
1 parent f89a64b commit bb2db23
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,15 @@ jobs:
runs-on: ${{ matrix.ci.os }}
steps:

# Work around https://github.com/actions/runner-images/issues/8659
- name: 'Remove GCC 13 from runner image (workaround)'
if: matrix.ci.os == 'ubuntu-22.04' && matrix.ci.cxx_compiler == 'clang++-14'
shell: bash
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-0ubuntu3.4 libc6-dev=2.35-0ubuntu3.4 libstdc++6=12.3.0-1ubuntu1~22.04 libgcc-s1=12.3.0-1ubuntu1~22.04
- name: 'Install'
run: |
set -e
Expand Down

3 comments on commit bb2db23

@dr-jts
Copy link
Contributor

@dr-jts dr-jts commented on bb2db23 Nov 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mwtoews
Copy link
Contributor Author

@mwtoews mwtoews commented on bb2db23 Nov 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This workaround can be cherry-picked to 3.12, if that's what is needed.

@dr-jts
Copy link
Contributor

@dr-jts dr-jts commented on bb2db23 Nov 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, will do that.

Please sign in to comment.