Skip to content

Commit

Permalink
Workaround Clang issue on Linux
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Cruz Viotti <[email protected]>
  • Loading branch information
jviotti committed Nov 23, 2023
1 parent 7039381 commit 1ee516a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ jobs:
- name: Install dependencies (GNU/Linux)
if: runner.os == 'linux'
run: sudo apt-get install --yes clang-format shellcheck

# See https://github.com/actions/runner-images/issues/8659
- name: Workaround Clang issue (GNU/Linux)
if: runner.os == 'linux' && matrix.platform.cc == 'clang'
run: |
sudo rm -f /etc/apt/sources.list.d/ubuntu-toolchain-r-ubuntu-test-jammy.list
sudo apt-get install --yes --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 dependencies (Windows)
if: runner.os == 'windows'
run: choco install shellcheck
Expand Down

0 comments on commit 1ee516a

Please sign in to comment.