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