Skip to content

Commit 849f612

Browse files
committed
Add gcc -14 and clang-18
1 parent bdc734f commit 849f612

File tree

1 file changed

+41
-7
lines changed

1 file changed

+41
-7
lines changed

.github/workflows/ci.yml

+41-7
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,16 @@ jobs:
128128
- toolset: gcc-13
129129
cxxstd: "11,14,17,20,2b"
130130
os: ubuntu-latest
131-
container: ubuntu:23.04
131+
container: ubuntu:24.04
132132
install: g++-13-multilib
133133
address-model: 32,64
134+
# Linux, gcc-14
135+
- toolset: gcc-14
136+
cxxstd: "11,14,17,20,2b"
137+
os: ubuntu-latest
138+
container: ubuntu:24.04
139+
install: g++-14-multilib
140+
address-model: 32,64
134141
# Linux, gcc-12 UBSAN
135142
- name: UBSAN
136143
toolset: gcc-12
@@ -285,16 +292,23 @@ jobs:
285292
- toolset: clang
286293
compiler: clang++-16
287294
cxxstd: "03,11,14,17,20,2b"
288-
container: ubuntu:23.04
295+
container: ubuntu:24.04
289296
os: ubuntu-latest
290297
install: clang-16
291298
# Linux, clang-17
292299
- toolset: clang
293300
compiler: clang++-17
294301
cxxstd: "03,11,14,17,20,2b"
295-
container: ubuntu:23.10
302+
container: ubuntu:24.04
296303
os: ubuntu-latest
297304
install: clang-17
305+
# Linux, clang-18
306+
- toolset: clang
307+
compiler: clang++-18
308+
cxxstd: "03,11,14,17,20,2b"
309+
container: ubuntu:24.04
310+
os: ubuntu-latest
311+
install: clang-18
298312
# Linux, clang-15 libc++
299313
- toolset: clang
300314
compiler: clang++-15
@@ -304,10 +318,17 @@ jobs:
304318
- clang-15
305319
- libc++-15-dev
306320
- libc++abi-15-dev
307-
sources:
308-
- "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-15 main"
309-
source_keys:
310-
- "https://apt.llvm.org/llvm-snapshot.gpg.key"
321+
cxxflags: -stdlib=libc++
322+
linkflags: -stdlib=libc++
323+
# Linux, clang-18 libc++
324+
- toolset: clang
325+
compiler: clang++-18
326+
cxxstd: "03,11,14,17,20,2b"
327+
os: ubuntu-24.04
328+
install:
329+
- clang-18
330+
- libc++-18-dev
331+
- libc++abi-18-dev
311332
cxxflags: -stdlib=libc++
312333
linkflags: -stdlib=libc++
313334
# Linux, clang-14 libc++, ubsan
@@ -323,6 +344,19 @@ jobs:
323344
- clang-14
324345
- libc++-14-dev
325346
- libc++abi-14-dev
347+
# Linux, clang-18 libc++, ubsan
348+
- name: UBSAN
349+
toolset: clang
350+
compiler: clang++-18
351+
cxxstd: "03,11,14,17,20"
352+
cxxflags: -stdlib=libc++
353+
linkflags: -stdlib=libc++
354+
ubsan: 1
355+
os: ubuntu-24.04
356+
install:
357+
- clang-18
358+
- libc++-18-dev
359+
- libc++abi-18-dev
326360
#------------------
327361
# MacOS, clang
328362
#------------------

0 commit comments

Comments
 (0)