Use libstdc++11 for clang prior to 16.

Clang prior to version 16 does not support libstdc++13 that is installed
by default in GHA image ubuntu 22.04 in C++20 mode.
This commit is contained in:
Andrey Semashev
2023-11-25 16:02:01 +03:00
parent ba6360e8ed
commit 7cbbb08e7b

View File

@ -228,30 +228,40 @@ jobs:
os: ubuntu-22.04 os: ubuntu-22.04
install: install:
- clang-11 - clang-11
- g++-11
gcc_toolchain: 11
- toolset: clang - toolset: clang
compiler: clang++-12 compiler: clang++-12
cxxstd: "03,11,14,17,20,2b" cxxstd: "03,11,14,17,20,2b"
os: ubuntu-22.04 os: ubuntu-22.04
install: install:
- clang-12 - clang-12
- g++-11
gcc_toolchain: 11
- toolset: clang - toolset: clang
compiler: clang++-13 compiler: clang++-13
cxxstd: "03,11,14,17,20,2b" cxxstd: "03,11,14,17,20,2b"
os: ubuntu-22.04 os: ubuntu-22.04
install: install:
- clang-13 - clang-13
- g++-11
gcc_toolchain: 11
- toolset: clang - toolset: clang
compiler: clang++-14 compiler: clang++-14
cxxstd: "03,11,14,17,20,2b" cxxstd: "03,11,14,17,20,2b"
os: ubuntu-22.04 os: ubuntu-22.04
install: install:
- clang-14 - clang-14
- g++-11
gcc_toolchain: 11
- toolset: clang - toolset: clang
compiler: clang++-15 compiler: clang++-15
cxxstd: "03,11,14,17,20,2b" cxxstd: "03,11,14,17,20,2b"
os: ubuntu-22.04 os: ubuntu-22.04
install: install:
- clang-15 - clang-15
- g++-11
gcc_toolchain: 11
- toolset: clang - toolset: clang
compiler: clang++-15 compiler: clang++-15
cxxstd: "03,11,14,17,20,2b" cxxstd: "03,11,14,17,20,2b"