Remove C++03 CI jobs, use gcc-11 libstdc++ for clang-12 through 15.

Clang 12 through 15 does not support libstdc++-13 in C++23 mode.
This commit is contained in:
Andrey Semashev 2023-11-17 13:50:26 +03:00
parent a95a4f6580
commit 85b5594f32
2 changed files with 49 additions and 52 deletions

View File

@ -33,16 +33,8 @@ jobs:
matrix: matrix:
include: include:
# Linux, gcc # Linux, gcc
- toolset: gcc-4.4
cxxstd: "98,0x"
os: ubuntu-latest
container: ubuntu:16.04
install:
- g++-4.4
sources:
- "ppa:ubuntu-toolchain-r/test"
- toolset: gcc-4.6 - toolset: gcc-4.6
cxxstd: "03,0x" cxxstd: "0x"
os: ubuntu-latest os: ubuntu-latest
container: ubuntu:16.04 container: ubuntu:16.04
install: install:
@ -50,70 +42,70 @@ jobs:
sources: sources:
- "ppa:ubuntu-toolchain-r/test" - "ppa:ubuntu-toolchain-r/test"
- toolset: gcc-4.7 - toolset: gcc-4.7
cxxstd: "03,11" cxxstd: "11"
os: ubuntu-latest os: ubuntu-latest
container: ubuntu:16.04 container: ubuntu:16.04
install: install:
- g++-4.7 - g++-4.7
- toolset: gcc-4.8 - toolset: gcc-4.8
cxxstd: "03,11" cxxstd: "11"
os: ubuntu-latest os: ubuntu-latest
container: ubuntu:18.04 container: ubuntu:18.04
install: install:
- g++-4.8 - g++-4.8
- toolset: gcc-4.9 - toolset: gcc-4.9
cxxstd: "03,11" cxxstd: "11"
os: ubuntu-latest os: ubuntu-latest
container: ubuntu:16.04 container: ubuntu:16.04
install: install:
- g++-4.9 - g++-4.9
- toolset: gcc-5 - toolset: gcc-5
cxxstd: "03,11,14,1z" cxxstd: "11,14,1z"
os: ubuntu-latest os: ubuntu-latest
container: ubuntu:16.04 container: ubuntu:16.04
install: install:
- g++-5 - g++-5
- toolset: gcc-6 - toolset: gcc-6
cxxstd: "03,11,14,1z" cxxstd: "11,14,1z"
os: ubuntu-latest os: ubuntu-latest
container: ubuntu:18.04 container: ubuntu:18.04
install: install:
- g++-6 - g++-6
- toolset: gcc-7 - toolset: gcc-7
cxxstd: "03,11,14,17" cxxstd: "11,14,17"
os: ubuntu-latest os: ubuntu-latest
container: ubuntu:18.04 container: ubuntu:18.04
install: install:
- g++-7 - g++-7
- toolset: gcc-8 - toolset: gcc-8
cxxstd: "03,11,14,17,2a" cxxstd: "11,14,17,2a"
os: ubuntu-latest os: ubuntu-latest
container: ubuntu:18.04 container: ubuntu:18.04
install: install:
- g++-8 - g++-8
- toolset: gcc-9 - toolset: gcc-9
cxxstd: "03,11,14,17,2a" cxxstd: "11,14,17,2a"
os: ubuntu-20.04 os: ubuntu-20.04
install: install:
- g++-9 - g++-9
- toolset: gcc-10 - toolset: gcc-10
cxxstd: "03,11,14,17,20" cxxstd: "11,14,17,20"
os: ubuntu-20.04 os: ubuntu-20.04
install: install:
- g++-10 - g++-10
- toolset: gcc-11 - toolset: gcc-11
cxxstd: "03,11,14,17,20,23" cxxstd: "11,14,17,20,23"
os: ubuntu-22.04 os: ubuntu-22.04
install: install:
- g++-11 - g++-11
- toolset: gcc-12 - toolset: gcc-12
cxxstd: "03,11,14,17,20,23" cxxstd: "11,14,17,20,23"
os: ubuntu-22.04 os: ubuntu-22.04
install: install:
- g++-12 - g++-12
- name: UBSAN - name: UBSAN
toolset: gcc-11 toolset: gcc-11
cxxstd: "03,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-22.04
@ -123,63 +115,63 @@ jobs:
# Linux, clang # Linux, clang
- toolset: clang - toolset: clang
compiler: clang++-3.5 compiler: clang++-3.5
cxxstd: "03,11" cxxstd: "11"
os: ubuntu-latest os: ubuntu-latest
container: ubuntu:16.04 container: ubuntu:16.04
install: install:
- clang-3.5 - clang-3.5
- toolset: clang - toolset: clang
compiler: clang++-3.6 compiler: clang++-3.6
cxxstd: "03,11,14" cxxstd: "11,14"
os: ubuntu-latest os: ubuntu-latest
container: ubuntu:16.04 container: ubuntu:16.04
install: install:
- clang-3.6 - clang-3.6
- toolset: clang - toolset: clang
compiler: clang++-3.7 compiler: clang++-3.7
cxxstd: "03,11,14" cxxstd: "11,14"
os: ubuntu-latest os: ubuntu-latest
container: ubuntu:16.04 container: ubuntu:16.04
install: install:
- clang-3.7 - clang-3.7
- toolset: clang - toolset: clang
compiler: clang++-3.8 compiler: clang++-3.8
cxxstd: "03,11,14" cxxstd: "11,14"
os: ubuntu-latest os: ubuntu-latest
container: ubuntu:16.04 container: ubuntu:16.04
install: install:
- clang-3.8 - clang-3.8
- toolset: clang - toolset: clang
compiler: clang++-3.9 compiler: clang++-3.9
cxxstd: "03,11,14" cxxstd: "11,14"
os: ubuntu-latest os: ubuntu-latest
container: ubuntu:18.04 container: ubuntu:18.04
install: install:
- clang-3.9 - clang-3.9
- toolset: clang - toolset: clang
compiler: clang++-4.0 compiler: clang++-4.0
cxxstd: "03,11,14" cxxstd: "11,14"
os: ubuntu-latest os: ubuntu-latest
container: ubuntu:18.04 container: ubuntu:18.04
install: install:
- clang-4.0 - clang-4.0
- toolset: clang - toolset: clang
compiler: clang++-5.0 compiler: clang++-5.0
cxxstd: "03,11,14,1z" cxxstd: "11,14,1z"
os: ubuntu-latest os: ubuntu-latest
container: ubuntu:18.04 container: ubuntu:18.04
install: install:
- clang-5.0 - clang-5.0
- toolset: clang - toolset: clang
compiler: clang++-6.0 compiler: clang++-6.0
cxxstd: "03,11,14,17" cxxstd: "11,14,17"
os: ubuntu-latest os: ubuntu-latest
container: ubuntu:18.04 container: ubuntu:18.04
install: install:
- clang-6.0 - clang-6.0
- toolset: clang - toolset: clang
compiler: clang++-7 compiler: clang++-7
cxxstd: "03,11,14,17" cxxstd: "11,14,17"
os: ubuntu-latest os: ubuntu-latest
container: ubuntu:18.04 container: ubuntu:18.04
install: install:
@ -187,7 +179,7 @@ jobs:
# Note: clang-8 does not fully support C++20, so it is not compatible with libstdc++-8 in this mode # Note: clang-8 does not fully support C++20, so it is not compatible with libstdc++-8 in this mode
- toolset: clang - toolset: clang
compiler: clang++-8 compiler: clang++-8
cxxstd: "03,11,14,17,2a" cxxstd: "11,14,17,2a"
os: ubuntu-latest os: ubuntu-latest
container: ubuntu:18.04 container: ubuntu:18.04
install: install:
@ -196,49 +188,57 @@ jobs:
gcc_toolchain: 7 gcc_toolchain: 7
- toolset: clang - toolset: clang
compiler: clang++-9 compiler: clang++-9
cxxstd: "03,11,14,17,2a" cxxstd: "11,14,17,2a"
os: ubuntu-20.04 os: ubuntu-20.04
install: install:
- clang-9 - clang-9
- toolset: clang - toolset: clang
compiler: clang++-10 compiler: clang++-10
cxxstd: "03,11,14,17,20" cxxstd: "11,14,17,20"
os: ubuntu-20.04 os: ubuntu-20.04
install: install:
- clang-10 - clang-10
- toolset: clang - toolset: clang
compiler: clang++-11 compiler: clang++-11
cxxstd: "03,11,14,17,20" cxxstd: "11,14,17,20"
os: ubuntu-22.04 os: ubuntu-22.04
install: install:
- clang-11 - clang-11
- toolset: clang - toolset: clang
compiler: clang++-12 compiler: clang++-12
cxxstd: "03,11,14,17,20,2b" cxxstd: "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: "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: "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: "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++-16 compiler: clang++-16
cxxstd: "03,11,14,17,20,2b" cxxstd: "11,14,17,20,2b"
os: ubuntu-22.04 os: ubuntu-22.04
install: install:
- clang-16 - clang-16
@ -248,7 +248,7 @@ jobs:
- "https://apt.llvm.org/llvm-snapshot.gpg.key" - "https://apt.llvm.org/llvm-snapshot.gpg.key"
- toolset: clang - toolset: clang
compiler: clang++-16 compiler: clang++-16
cxxstd: "03,11,14,17,20,2b" cxxstd: "11,14,17,20,2b"
os: ubuntu-22.04 os: ubuntu-22.04
install: install:
- clang-16 - clang-16
@ -263,7 +263,7 @@ jobs:
- name: UBSAN - name: UBSAN
toolset: clang toolset: clang
compiler: clang++-15 compiler: clang++-15
cxxstd: "03,11,14,17,20,2b" cxxstd: "11,14,17,20,2b"
cxxflags: -stdlib=libc++ cxxflags: -stdlib=libc++
linkflags: -stdlib=libc++ linkflags: -stdlib=libc++
ubsan: 1 ubsan: 1
@ -275,7 +275,7 @@ jobs:
- libc++abi-15-dev - libc++abi-15-dev
- toolset: clang - toolset: clang
cxxstd: "03,11,14,17,2a" cxxstd: "11,14,17,2a"
os: macos-11 os: macos-11
timeout-minutes: 60 timeout-minutes: 60

View File

@ -15,10 +15,7 @@ branches:
environment: environment:
matrix: matrix:
- TOOLSET: msvc-9.0,msvc-10.0,msvc-11.0 - TOOLSET: msvc-14.0
ADDRMD: 32
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- TOOLSET: msvc-12.0,msvc-14.0
ADDRMD: 32,64 ADDRMD: 32,64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- TOOLSET: msvc-14.1 - TOOLSET: msvc-14.1
@ -44,27 +41,27 @@ environment:
ENV_SCRIPT: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat ENV_SCRIPT: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- TOOLSET: gcc - TOOLSET: gcc
CXXSTD: 03,11,14,1z CXXSTD: 11,14,1z
ADDPATH: C:\cygwin\bin; ADDPATH: C:\cygwin\bin;
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- TOOLSET: gcc - TOOLSET: gcc
CXXSTD: 03,11,14,1z CXXSTD: 11,14,1z
ADDPATH: C:\cygwin64\bin; ADDPATH: C:\cygwin64\bin;
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- TOOLSET: gcc - TOOLSET: gcc
CXXSTD: 03,11,14,1z CXXSTD: 11,14,1z
ADDPATH: C:\mingw\bin; ADDPATH: C:\mingw\bin;
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- TOOLSET: gcc - TOOLSET: gcc
CXXSTD: 03,11,14,1z CXXSTD: 11,14,1z
ADDPATH: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin; ADDPATH: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin;
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- TOOLSET: gcc - TOOLSET: gcc
CXXSTD: 03,11,14,17 CXXSTD: 11,14,17
ADDPATH: C:\mingw-w64\x86_64-7.3.0-posix-seh-rt_v5-rev0\mingw64\bin; ADDPATH: C:\mingw-w64\x86_64-7.3.0-posix-seh-rt_v5-rev0\mingw64\bin;
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- TOOLSET: gcc - TOOLSET: gcc
CXXSTD: 03,11,14,17,2a CXXSTD: 11,14,17,2a
ADDPATH: C:\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin; ADDPATH: C:\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin;
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015