From 6cdd070e7e5fb6e39c7f9507d98ab8ea6570c2a1 Mon Sep 17 00:00:00 2001 From: Andreas Buhr Date: Wed, 10 Dec 2025 07:33:57 +0100 Subject: [PATCH] Add clang 20 to automatic tests --- .github/workflows/cmake.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 1f27e754..42aef854 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -220,6 +220,15 @@ jobs: exe_linker_flags: -lc++, cxxver: 20, } + - { + name: "Linux clang-20 C++20", + os: ubuntu-24.04, + buildtype: Release, + cxx: "clang++-20", + cxx_flags: -stdlib=libc++, + exe_linker_flags: -lc++, + cxxver: 20, + } - { name: "Windows MSVC 2017 (x64) C++17", os: windows-2019, @@ -408,6 +417,17 @@ jobs: sudo ./llvm.sh 19 sudo apt-get install libc++-19-dev libc++abi-19-dev libunwind-19-dev + - name: Install Clang 20 + id: install_clang_20 + if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'clang++-20' ) + shell: bash + working-directory: ${{ env.HOME }} + run: | + wget https://apt.llvm.org/llvm.sh + chmod +x llvm.sh + sudo ./llvm.sh 20 + sudo apt-get install libc++-20-dev libc++abi-20-dev libunwind-20-dev + - name: Install g++ 10 id: install_gcc_10 if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'g++-10' )