Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update action versions #129

Merged
merged 6 commits into from
Nov 8, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Try again?
michael-projectx committed Nov 7, 2023
commit aaeef57be228388ca757896f90470ad9a23b3fe8
27 changes: 14 additions & 13 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
@@ -64,6 +64,20 @@ jobs:
- name: Install dependencies
run: |
if [ "${{ runner.os }}" = "Linux" ]; then

# Workaround https://github.com/actions/runner-images/issues/8659
echo "matrix.name=${{ matrix.name }}"
echo "matrix.os=${{ matrix.os }}"
if [ "${{ matrix.name }}" = "ubuntu-22.04-clang-14" || "${{ matrix.os }}" = "ubuntu-latest"]; then
echo "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
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
fi

wget -qO - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -

# Figure out which version of ubuntu is actually running
@@ -91,19 +105,6 @@ jobs:
echo "CC=gcc-${{ matrix.version }}" >> $GITHUB_ENV
echo "CXX=g++-${{ matrix.version }}" >> $GITHUB_ENV
else

# Workaround https://github.com/actions/runner-images/issues/8659
if [ "${{ matrix.name }}" = "ubuntu-22.04-clang-14"]; then
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
fi



sudo apt-get install -y clang-${{ matrix.version }} g++-multilib
echo "CC=clang-${{ matrix.version }}" >> $GITHUB_ENV
echo "CXX=clang++-${{ matrix.version }}" >> $GITHUB_ENV