Skip to content

Commit ba7233c

Browse files
committed
Add compilation with c++20 and 23 to pipeline
1 parent f0b4eb4 commit ba7233c

2 files changed

Lines changed: 21 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,28 @@ jobs:
1212
- os: ubuntu-22.04
1313
build_type: Release
1414
compiler: g++-10
15+
cxx_std: 17
16+
- os: ubuntu-24.04
17+
build_type: Release
18+
compiler: g++-12
19+
cxx_std: 20
20+
- os: ubuntu-24.04
21+
build_type: Release
22+
compiler: g++-14
23+
cxx_std: 23
1524

1625
- os: ubuntu-22.04
1726
build_type: Release
1827
compiler: clang++-13
28+
cxx_std: 17
29+
- os: ubuntu-24.04
30+
build_type: Release
31+
compiler: clang++-16
32+
cxx_std: 20
33+
- os: ubuntu-24.04
34+
build_type: Release
35+
compiler: clang++-18
36+
cxx_std: 23
1937

2038
- os: windows-2022
2139
build_type: Release
@@ -39,6 +57,7 @@ jobs:
3957
cmake
4058
-DCMAKE_CXX_COMPILER=${{ matrix.compiler }}
4159
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
60+
-DVT_CXX_STD=${{ matrix.cxx_std }}
4261
-B ${{ github.workspace }}/build
4362
-S ${{ github.workspace }}
4463

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Getting started
1212

1313
The library uses C++17 features and assumes a C++17 compliant compiler. Compatibility with the following compilers is tested:
1414

15-
- GCC 10.5
16-
- Clang 13.0
15+
- GCC 10.5, 12.3 and 14.2
16+
- Clang 13.0, 16.0 and 18.1
1717
- MSVC vs2022
1818

1919
If you're using CMake, you can include this library in your project using `FetchContent` as follows:

0 commit comments

Comments
 (0)