Skip to content

Commit a5a7e54

Browse files
committed
Removed obsolete GHA images, added new compilers.
1 parent c142f7b commit a5a7e54

File tree

1 file changed

+53
-35
lines changed

1 file changed

+53
-35
lines changed

.github/workflows/ci.yml

Lines changed: 53 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2021-2024 Andrey Semashev
1+
# Copyright 2021-2025 Andrey Semashev
22
#
33
# Distributed under the Boost Software License, Version 1.0.
44
# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)
@@ -71,12 +71,14 @@ jobs:
7171
- g++-8
7272
- toolset: gcc-9
7373
cxxstd: "11,14,17,2a"
74-
os: ubuntu-20.04
74+
os: ubuntu-latest
75+
container: ubuntu:20.04
7576
install:
7677
- g++-9
7778
- toolset: gcc-10
7879
cxxstd: "11,14,17,20"
79-
os: ubuntu-20.04
80+
os: ubuntu-latest
81+
container: ubuntu:20.04
8082
install:
8183
- g++-10
8284
- toolset: gcc-11
@@ -91,18 +93,22 @@ jobs:
9193
- g++-12
9294
- toolset: gcc-13
9395
cxxstd: "11,14,17,20,23"
94-
os: ubuntu-latest
95-
container: ubuntu:23.04
96+
os: ubuntu-24.04
9697
install:
9798
- g++-13
99+
- toolset: gcc-14
100+
cxxstd: "11,14,17,20,23,26"
101+
os: ubuntu-24.04
102+
install:
103+
- g++-14
98104
- name: UBSAN
99-
toolset: gcc-11
105+
toolset: gcc-13
100106
cxxstd: "11,14,17,20,23"
101107
ubsan: 1
102108
build_variant: debug
103-
os: ubuntu-22.04
109+
os: ubuntu-24.04
104110
install:
105-
- g++-11
111+
- g++-13
106112

107113
# Linux, clang
108114
- toolset: clang
@@ -181,13 +187,15 @@ jobs:
181187
- toolset: clang
182188
compiler: clang++-9
183189
cxxstd: "11,14,17,2a"
184-
os: ubuntu-20.04
190+
os: ubuntu-latest
191+
container: ubuntu:20.04
185192
install:
186193
- clang-9
187194
- toolset: clang
188195
compiler: clang++-10
189196
cxxstd: "11,14,17,20"
190-
os: ubuntu-20.04
197+
os: ubuntu-latest
198+
container: ubuntu:20.04
191199
install:
192200
- clang-10
193201
- toolset: clang
@@ -231,54 +239,64 @@ jobs:
231239
- toolset: clang
232240
compiler: clang++-16
233241
cxxstd: "11,14,17,20,2b"
234-
os: ubuntu-22.04
242+
os: ubuntu-24.04
235243
install:
236244
- clang-16
237-
sources:
238-
- "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-16 main"
239-
source_keys:
240-
- "https://apt.llvm.org/llvm-snapshot.gpg.key"
245+
- g++-11
246+
gcc_toolchain: 11
241247
- toolset: clang
242248
compiler: clang++-17
243249
cxxstd: "11,14,17,20,23"
244-
os: ubuntu-22.04
250+
os: ubuntu-24.04
245251
install:
246252
- clang-17
253+
- g++-11
254+
gcc_toolchain: 11
255+
- toolset: clang
256+
compiler: clang++-18
257+
cxxstd: "11,14,17,20,23,26"
258+
os: ubuntu-24.04
259+
install:
260+
- clang-18
261+
- g++-13
262+
- toolset: clang
263+
compiler: clang++-19
264+
cxxstd: "11,14,17,20,23,26"
265+
os: ubuntu-24.04
266+
install:
267+
- clang-19
247268
sources:
248-
- "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main"
269+
- "deb http://apt.llvm.org/noble/ llvm-toolchain-noble-19 main"
249270
source_keys:
250271
- "https://apt.llvm.org/llvm-snapshot.gpg.key"
251272
- toolset: clang
252-
compiler: clang++-17
253-
cxxstd: "11,14,17,20,23"
254-
os: ubuntu-22.04
273+
compiler: clang++-19
274+
cxxstd: "11,14,17,20,23,26"
275+
cxxflags: -stdlib=libc++
276+
linkflags: -stdlib=libc++
277+
os: ubuntu-24.04
255278
install:
256-
- clang-17
257-
- libc++-17-dev
258-
- libc++abi-17-dev
279+
- clang-19
280+
- libc++-19-dev
281+
- libc++abi-19-dev
259282
sources:
260-
- "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main"
283+
- "deb http://apt.llvm.org/noble/ llvm-toolchain-noble-19 main"
261284
source_keys:
262285
- "https://apt.llvm.org/llvm-snapshot.gpg.key"
263-
cxxflags: -stdlib=libc++
264-
linkflags: -stdlib=libc++
265286
- name: UBSAN
266287
toolset: clang
267-
compiler: clang++-15
268-
cxxstd: "11,14,17,20,2b"
288+
compiler: clang++-18
289+
cxxstd: "11,14,17,20,23,26"
269290
cxxflags: -stdlib=libc++
270291
linkflags: -stdlib=libc++
271292
ubsan: 1
272293
build_variant: debug
273-
os: ubuntu-22.04
294+
os: ubuntu-24.04
274295
install:
275-
- clang-15
276-
- libc++-15-dev
277-
- libc++abi-15-dev
296+
- clang-18
297+
- libc++-18-dev
298+
- libc++abi-18-dev
278299

279-
- toolset: clang
280-
cxxstd: "11,14,17,20,2b"
281-
os: macos-12
282300
- toolset: clang
283301
cxxstd: "11,14,17,20,2b"
284302
os: macos-13

0 commit comments

Comments
 (0)