Skip to content

Commit 741b319

Browse files
committed
Add gcc 15 to CI
1 parent b837edb commit 741b319

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/cmake.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,20 @@ jobs:
103103
cxx: "g++-14",
104104
cxxver: 20,
105105
}
106+
- {
107+
name: "Linux g++ 15 C++17",
108+
os: ubuntu-24.04,
109+
buildtype: Release,
110+
cxx: "g++-15",
111+
cxxver: 17,
112+
}
113+
- {
114+
name: "Linux g++ 15 C++20",
115+
os: ubuntu-24.04,
116+
buildtype: Release,
117+
cxx: "g++-15",
118+
cxxver: 20,
119+
}
106120
- {
107121
name: "Linux clang-13 C++17",
108122
os: ubuntu-22.04,
@@ -472,6 +486,15 @@ jobs:
472486
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa
473487
sudo apt-get install g++-14
474488
489+
- name: Install g++ 15
490+
id: install_gcc_15
491+
if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'g++-15' )
492+
shell: bash
493+
working-directory: ${{ env.HOME }}
494+
run: |
495+
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa
496+
sudo apt-get install g++-15
497+
475498
- name: Install MSVC 2017
476499
id: install_msvc_2017
477500
if: startsWith(matrix.config.os, 'windows-2019') && ( matrix.config.cxx == 'cl' ) && ( matrix.config.msvcver == 2017 )

0 commit comments

Comments
 (0)