Updated GHA to remove obsolete images and add new compilers.

This commit is contained in:
Andrey Semashev 2025-04-15 14:12:08 +03:00
parent ec297bfdfb
commit 67d8cbd243

View File

@ -1,4 +1,4 @@
# Copyright 2021-2024 Andrey Semashev # Copyright 2021-2025 Andrey Semashev
# #
# Distributed under the Boost Software License, Version 1.0. # Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt) # (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)
@ -77,12 +77,14 @@ jobs:
- g++-8 - g++-8
- toolset: gcc-9 - toolset: gcc-9
cxxstd: "11,14,17,2a" cxxstd: "11,14,17,2a"
os: ubuntu-20.04 os: ubuntu-latest
container: ubuntu:20.04
install: install:
- g++-9 - g++-9
- toolset: gcc-10 - toolset: gcc-10
cxxstd: "11,14,17,20" cxxstd: "11,14,17,20"
os: ubuntu-20.04 os: ubuntu-latest
container: ubuntu:20.04
install: install:
- g++-10 - g++-10
- toolset: gcc-11 - toolset: gcc-11
@ -97,18 +99,22 @@ jobs:
- g++-12 - g++-12
- toolset: gcc-13 - toolset: gcc-13
cxxstd: "11,14,17,20,23" cxxstd: "11,14,17,20,23"
os: ubuntu-latest os: ubuntu-24.04
container: ubuntu:23.04
install: install:
- g++-13 - g++-13
- toolset: gcc-14
cxxstd: "11,14,17,20,23"
os: ubuntu-24.04
install:
- g++-14
- name: UBSAN - name: UBSAN
toolset: gcc-11 toolset: gcc-13
cxxstd: "11,14,17,20,23" cxxstd: "11,14,17,20,23"
ubsan: 1 ubsan: 1
build_variant: debug build_variant: debug
os: ubuntu-22.04 os: ubuntu-24.04
install: install:
- g++-11 - g++-13
# Linux, clang # Linux, clang
- toolset: clang - toolset: clang
@ -187,13 +193,15 @@ jobs:
- toolset: clang - toolset: clang
compiler: clang++-9 compiler: clang++-9
cxxstd: "11,14,17,2a" cxxstd: "11,14,17,2a"
os: ubuntu-20.04 os: ubuntu-latest
container: ubuntu:20.04
install: install:
- clang-9 - clang-9
- toolset: clang - toolset: clang
compiler: clang++-10 compiler: clang++-10
cxxstd: "11,14,17,20" cxxstd: "11,14,17,20"
os: ubuntu-20.04 os: ubuntu-latest
container: ubuntu:20.04
install: install:
- clang-10 - clang-10
- toolset: clang - toolset: clang
@ -237,54 +245,64 @@ jobs:
- toolset: clang - toolset: clang
compiler: clang++-16 compiler: clang++-16
cxxstd: "11,14,17,20,2b" cxxstd: "11,14,17,20,2b"
os: ubuntu-22.04 os: ubuntu-24.04
install: install:
- clang-16 - clang-16
sources: - g++-11
- "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-16 main" gcc_toolchain: 11
source_keys:
- "https://apt.llvm.org/llvm-snapshot.gpg.key"
- toolset: clang - toolset: clang
compiler: clang++-17 compiler: clang++-17
cxxstd: "11,14,17,20,23" cxxstd: "11,14,17,20,23"
os: ubuntu-22.04 os: ubuntu-24.04
install: install:
- clang-17 - clang-17
- g++-11
gcc_toolchain: 11
- toolset: clang
compiler: clang++-18
cxxstd: "11,14,17,20,23"
os: ubuntu-24.04
install:
- clang-18
- g++-13
- toolset: clang
compiler: clang++-19
cxxstd: "11,14,17,20,23"
os: ubuntu-24.04
install:
- clang-19
sources: sources:
- "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main" - "deb http://apt.llvm.org/noble/ llvm-toolchain-noble-19 main"
source_keys: source_keys:
- "https://apt.llvm.org/llvm-snapshot.gpg.key" - "https://apt.llvm.org/llvm-snapshot.gpg.key"
- toolset: clang - toolset: clang
compiler: clang++-17 compiler: clang++-19
cxxstd: "11,14,17,20,23" cxxstd: "11,14,17,20,23"
os: ubuntu-22.04 os: ubuntu-24.04
install: install:
- clang-17 - clang-19
- libc++-17-dev - libc++-19-dev
- libc++abi-17-dev - libc++abi-19-dev
sources: sources:
- "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main" - "deb http://apt.llvm.org/noble/ llvm-toolchain-noble-19 main"
source_keys: source_keys:
- "https://apt.llvm.org/llvm-snapshot.gpg.key" - "https://apt.llvm.org/llvm-snapshot.gpg.key"
cxxflags: -stdlib=libc++ cxxflags: -stdlib=libc++
linkflags: -stdlib=libc++ linkflags: -stdlib=libc++
- name: UBSAN - name: UBSAN
toolset: clang toolset: clang
compiler: clang++-15 compiler: clang++-18
cxxstd: "11,14,17,20,2b" cxxstd: "11,14,17,20,23"
cxxflags: -stdlib=libc++ cxxflags: -stdlib=libc++
linkflags: -stdlib=libc++ linkflags: "-stdlib=libc++ -lubsan"
ubsan: 1 ubsan: 1
build_variant: debug build_variant: debug
os: ubuntu-22.04 os: ubuntu-24.04
install: install:
- clang-15 - clang-18
- libc++-15-dev - libc++-18-dev
- libc++abi-15-dev - libc++abi-18-dev
- toolset: clang
cxxstd: "11,14,17,20,2b"
os: macos-12
- toolset: clang - toolset: clang
cxxstd: "11,14,17,20,2b" cxxstd: "11,14,17,20,2b"
os: macos-13 os: macos-13