diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index f7bfc647..9edc0be7 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -216,6 +216,24 @@ jobs: exe_linker_flags: -lc++, cxxver: 20, } + - { + name: "Linux clang-16 C++17", + os: ubuntu-22.04, + buildtype: Release, + cxx: "clang++-16", + cxx_flags: -stdlib=libc++, + exe_linker_flags: -lc++, + cxxver: 17, + } + - { + name: "Linux clang-16 C++20", + os: ubuntu-22.04, + buildtype: Release, + cxx: "clang++-16", + cxx_flags: -stdlib=libc++, + exe_linker_flags: -lc++, + cxxver: 20, + } - { name: "Windows MSVC 2017 (x64) C++17", os: windows-2019, @@ -336,6 +354,17 @@ jobs: sudo ./llvm.sh 15 sudo apt-get install libc++-15-dev libc++abi-15-dev libunwind-15-dev + - name: Install Clang 16 + id: install_clang_16 + if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'clang++-16' ) + shell: bash + working-directory: ${{ env.HOME }} + run: | + wget https://apt.llvm.org/llvm.sh + chmod +x llvm.sh + sudo ./llvm.sh 16 + sudo apt-get install libc++-16-dev libc++abi-16-dev libunwind-16-dev + - name: Install g++ 10 id: install_gcc_10 if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'g++-10' )