Skip to content

Commit b837edb

Browse files
committed
Add clang 20 to automatic tests
1 parent f05170f commit b837edb

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/cmake.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,15 @@ jobs:
220220
exe_linker_flags: -lc++,
221221
cxxver: 20,
222222
}
223+
- {
224+
name: "Linux clang-20 C++20",
225+
os: ubuntu-24.04,
226+
buildtype: Release,
227+
cxx: "clang++-20",
228+
cxx_flags: -stdlib=libc++,
229+
exe_linker_flags: -lc++,
230+
cxxver: 20,
231+
}
223232
- {
224233
name: "Windows MSVC 2017 (x64) C++17",
225234
os: windows-2019,
@@ -408,6 +417,17 @@ jobs:
408417
sudo ./llvm.sh 19
409418
sudo apt-get install libc++-19-dev libc++abi-19-dev libunwind-19-dev
410419
420+
- name: Install Clang 20
421+
id: install_clang_20
422+
if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'clang++-20' )
423+
shell: bash
424+
working-directory: ${{ env.HOME }}
425+
run: |
426+
wget https://apt.llvm.org/llvm.sh
427+
chmod +x llvm.sh
428+
sudo ./llvm.sh 20
429+
sudo apt-get install libc++-20-dev libc++abi-20-dev libunwind-20-dev
430+
411431
- name: Install g++ 10
412432
id: install_gcc_10
413433
if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'g++-10' )

0 commit comments

Comments
 (0)