From 4e337373b4cf1173a4b12b6e067e099a62e1cf15 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Mon, 13 Mar 2023 22:34:13 +0100 Subject: [PATCH] :green_heart: add more compiler versions --- .github/workflows/macos.yml | 2 +- .github/workflows/ubuntu.yml | 4 ++-- cmake/ci.cmake | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index b2cb429ab..9ac1fe3fa 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -55,7 +55,7 @@ jobs: runs-on: macos-latest strategy: matrix: - standard: [11, 14, 17, 20] + standard: [11, 14, 17, 20, 23] steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index a53506305..ece65bf6e 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -178,7 +178,7 @@ jobs: container: ghcr.io/nlohmann/json-ci:v2.4.0 strategy: matrix: - standard: [11, 14, 17, 20] + standard: [11, 14, 17, 20, 23] steps: - uses: actions/checkout@v3 - name: Run CMake @@ -191,7 +191,7 @@ jobs: container: silkeh/clang:dev strategy: matrix: - standard: [11, 14, 17, 20] + standard: [11, 14, 17, 20, 23] steps: - name: Install git and unzip run: apt-get update ; apt-get install -y git unzip diff --git a/cmake/ci.cmake b/cmake/ci.cmake index 1d575c0ff..bbb2d4cb9 100644 --- a/cmake/ci.cmake +++ b/cmake/ci.cmake @@ -439,7 +439,7 @@ add_custom_target(ci_test_clang # Different C++ Standards. ############################################################################### -foreach(CXX_STANDARD 11 14 17 20) +foreach(CXX_STANDARD 11 14 17 20 23) add_custom_target(ci_test_gcc_cxx${CXX_STANDARD} COMMAND CXX=${GCC_TOOL} CXXFLAGS="${GCC_CXXFLAGS}" ${CMAKE_COMMAND} -DCMAKE_BUILD_TYPE=Debug -GNinja @@ -900,7 +900,7 @@ add_custom_target(ci_cmake_flags # Use more installed compilers. ############################################################################### -foreach(COMPILER g++-4.8 g++-4.9 g++-5 g++-6 g++-7 g++-8 g++-9 g++-10 g++-11 clang++-3.5 clang++-3.6 clang++-3.7 clang++-3.8 clang++-3.9 clang++-4.0 clang++-5.0 clang++-6.0 clang++-7 clang++-8 clang++-9 clang++-10 clang++-11 clang++-12 clang++-13 clang++-14 clang++-15 clang++-16) +foreach(COMPILER g++-4.8 g++-4.9 g++-5 g++-6 g++-7 g++-8 g++-9 g++-10 g++-11 clang++-3.5 clang++-3.6 clang++-3.7 clang++-3.8 clang++-3.9 clang++-4.0 clang++-5.0 clang++-6.0 clang++-7 clang++-8 clang++-9 clang++-10 clang++-11 clang++-12 clang++-13 clang++-14 clang++-15 clang++-16 clang++-17) find_program(COMPILER_TOOL NAMES ${COMPILER}) if (COMPILER_TOOL) unset(ADDITIONAL_FLAGS)