Skip to content

Commit 0d9be82

Browse files
committed
Use containers for clang libc++ w/wo ubsan
1 parent c3201cd commit 0d9be82

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,8 @@ jobs:
342342
- toolset: clang
343343
compiler: clang++-15
344344
cxxstd: "03,11,14,17,20,2b"
345-
os: ubuntu-22.04
345+
os: ubuntu-latest
346+
container: ubuntu:22.04
346347
install:
347348
- clang-15
348349
- libc++-15-dev
@@ -353,7 +354,8 @@ jobs:
353354
- toolset: clang
354355
compiler: clang++-18
355356
cxxstd: "11,14,17,20,2b"
356-
os: ubuntu-24.04
357+
os: ubuntu-latest
358+
container: ubuntu:24.04
357359
install:
358360
- clang-18
359361
- libc++-18-dev
@@ -364,7 +366,8 @@ jobs:
364366
- toolset: clang
365367
compiler: clang++-18
366368
cxxstd: "11,14,17,20,23,2c"
367-
os: ubuntu-24.04
369+
os: ubuntu-latest
370+
container: ubuntu:24.04
368371
install:
369372
- clang-20
370373
- libc++-20-dev
@@ -379,7 +382,8 @@ jobs:
379382
cxxflags: -pipe -stdlib=libc++
380383
linkflags: -stdlib=libc++
381384
ubsan: 1
382-
os: ubuntu-22.04
385+
os: ubuntu-latest
386+
container: ubuntu:22.04
383387
install:
384388
- clang-14
385389
- libc++-14-dev
@@ -392,7 +396,8 @@ jobs:
392396
cxxflags: -pipe -stdlib=libc++
393397
linkflags: -stdlib=libc++
394398
ubsan: 1
395-
os: ubuntu-24.04
399+
os: ubuntu-latest
400+
container: ubuntu:24.04
396401
install:
397402
- clang-18
398403
- libc++-18-dev
@@ -405,7 +410,8 @@ jobs:
405410
cxxflags: -pipe -stdlib=libc++
406411
linkflags: -stdlib=libc++
407412
ubsan: 1
408-
os: ubuntu-26.04
413+
os: ubuntu-latest
414+
container: ubuntu:26.04
409415
install:
410416
- clang-20
411417
- libc++-20-dev

0 commit comments

Comments
 (0)