Skip to content

Commit 304140b

Browse files
authored
Fix failing Clang builds on GitHub Actions (#80, thanks @striezel)
A while ago the 'ubuntu-latest' image moved from Ubuntu 22.04 to Ubuntu 24.04. See <actions/runner-images#10636>. However, Ubuntu 24.04 does not have packages for Clang 11 and 12 anymore, thus the Clang jobs fail when they try to install the corresponding compilers. Therefore, the workflow is changed to use 'ubuntu-22.04' instead of 'ubuntu-latest'. Furthermore, a job for Clang 19 (latest Clang version available on Ubuntu 24.04) is added to run tests with a newer version, too.
1 parent 03ffa52 commit 304140b

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/ci.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,14 @@ jobs:
2626
clang:
2727
strategy:
2828
matrix:
29-
version: [11, 12]
30-
runs-on: ubuntu-latest
29+
include:
30+
- version: 11
31+
os: 'ubuntu-22.04'
32+
- version: 12
33+
os: 'ubuntu-22.04'
34+
- version: 19
35+
os: 'ubuntu-24.04'
36+
runs-on: ${{ matrix.os }}
3137
steps:
3238
- uses: actions/checkout@v4
3339
- name: Install Clang ${{ matrix.version }}

0 commit comments

Comments
 (0)