Skip to content

Commit

Permalink
Add clang 17, clang 18, clang 19, gcc 14
Browse files Browse the repository at this point in the history
clang 17 and above do not support coroutines in C++17 mode
  • Loading branch information
andreasbuhr committed Dec 4, 2024
1 parent 2743853 commit 817121c
Showing 1 changed file with 83 additions and 0 deletions.
83 changes: 83 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,20 @@ jobs:
cxx: "g++-13",
cxxver: 20,
}
- {
name: "Linux g++ 14 C++17",
os: ubuntu-24.04,
buildtype: Release,
cxx: "g++-14",
cxxver: 17,
}
- {
name: "Linux g++ 14 C++20",
os: ubuntu-24.04,
buildtype: Release,
cxx: "g++-14",
cxxver: 20,
}
- {
name: "Linux clang-10 C++17",
os: ubuntu-20.04,
Expand Down Expand Up @@ -233,6 +247,33 @@ jobs:
exe_linker_flags: -lc++,
cxxver: 20,
}
- {
name: "Linux clang-17 C++20",
os: ubuntu-24.04,
buildtype: Release,
cxx: "clang++-17",
cxx_flags: -stdlib=libc++,
exe_linker_flags: -lc++,
cxxver: 20,
}
- {
name: "Linux clang-18 C++20",
os: ubuntu-24.04,
buildtype: Release,
cxx: "clang++-18",
cxx_flags: -stdlib=libc++,
exe_linker_flags: -lc++,
cxxver: 20,
}
- {
name: "Linux clang-19 C++20",
os: ubuntu-24.04,
buildtype: Release,
cxx: "clang++-19",
cxx_flags: -stdlib=libc++,
exe_linker_flags: -lc++,
cxxver: 20,
}
- {
name: "Windows MSVC 2017 (x64) C++17",
os: windows-2019,
Expand Down Expand Up @@ -413,6 +454,39 @@ jobs:
sudo ./llvm.sh 16
sudo apt-get install libc++-16-dev libc++abi-16-dev libunwind-16-dev
- name: Install Clang 17
id: install_clang_17
if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'clang++-17' )
shell: bash
working-directory: ${{ env.HOME }}
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 17
sudo apt-get install libc++-17-dev libc++abi-17-dev libunwind-17-dev
- name: Install Clang 18
id: install_clang_18
if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'clang++-18' )
shell: bash
working-directory: ${{ env.HOME }}
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 18
sudo apt-get install libc++-18-dev libc++abi-18-dev libunwind-18-dev
- name: Install Clang 19
id: install_clang_19
if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'clang++-19' )
shell: bash
working-directory: ${{ env.HOME }}
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 19
sudo apt-get install libc++-19-dev libc++abi-19-dev libunwind-19-dev
- name: Install g++ 10
id: install_gcc_10
if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'g++-10' )
Expand Down Expand Up @@ -448,6 +522,15 @@ jobs:
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa
sudo apt-get install g++-13
- name: Install g++ 14
id: install_gcc_14
if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'g++-14' )
shell: bash
working-directory: ${{ env.HOME }}
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa
sudo apt-get install g++-14
- name: Install MSVC 2017
id: install_msvc_2017
if: startsWith(matrix.config.os, 'windows-2019') && ( matrix.config.cxx == 'cl' ) && ( matrix.config.msvcver == 2017 )
Expand Down

0 comments on commit 817121c

Please sign in to comment.