Skip to content

Commit 03dc0fe

Browse files
committed
Add clang 17, 18 and GCC 14
1 parent a18a54c commit 03dc0fe

File tree

3 files changed

+27
-3
lines changed

3 files changed

+27
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
- {tag: 14, debian: bullseye, llvm: "14.0.0"}
2222
- {tag: 15, debian: bullseye, llvm: "15.0.6"}
2323
- {tag: 16, debian: bookworm, llvm: "16.0.4"}
24+
- {tag: 17, debian: bookworm, llvm: "17.0.6"}
25+
- {tag: 18, debian: bookworm, llvm: "18.1.8"}
2426

2527
runs-on: ubuntu-latest
2628
env:
@@ -55,7 +57,7 @@ jobs:
5557
strategy:
5658
fail-fast: false
5759
matrix:
58-
version: [7, 8, 9, 10, 11, 12, 13]
60+
version: [7, 8, 9, 10, 11, 12, 13, 14]
5961

6062
runs-on: ubuntu-latest
6163
env:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ This will automatically select the specific compiler and Ninja as generator.
2525

2626
* clang 6-10 on Debian buster
2727
* clang 11-15 on Debian bullseye
28-
* clang 16 on Debian bookworm
28+
* clang 16-18 on Debian bookworm
2929

3030
## Image ghcr.io/foonathan/gcc:<version>
3131

32-
* GCC 7-13
32+
* GCC 7-14
3333

clang/install-clang.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,28 @@ case "${LLVM_VERSION}" in
7070
exit 1
7171
fi
7272
;;
73+
17*)
74+
MIRROR="github"
75+
if [ $(uname -m) = "x86_64" ]; then
76+
PLATFORM="x86_64-linux-gnu-ubuntu-22.04"
77+
elif [ $(uname -m) = "aarch64" ]; then
78+
PLATFORM="aarch64-linux-gnu"
79+
else
80+
echo "unknown architecture" >/dev/stderr
81+
exit 1
82+
fi
83+
;;
84+
18*)
85+
MIRROR="github"
86+
if [ $(uname -m) = "x86_64" ]; then
87+
PLATFORM="x86_64-linux-gnu-ubuntu-18.04"
88+
elif [ $(uname -m) = "aarch64" ]; then
89+
PLATFORM="aarch64-linux-gnu"
90+
else
91+
echo "unknown architecture" >/dev/stderr
92+
exit 1
93+
fi
94+
;;
7395
esac
7496

7597
case "${MIRROR}" in

0 commit comments

Comments
 (0)