Skip to content

Commit d852c20

Browse files
committed
Add gcc 13 to CI
1 parent 406a77f commit d852c20

File tree

2 files changed

+32
-8
lines changed

2 files changed

+32
-8
lines changed

.github/workflows/cmake.yml

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,20 @@ jobs:
7272
cxx: "g++-12",
7373
cxxver: 20,
7474
}
75+
- {
76+
name: "Linux g++ 13 C++17",
77+
os: ubuntu-22.04,
78+
buildtype: Release,
79+
cxx: "g++-13",
80+
cxxver: 17,
81+
}
82+
- {
83+
name: "Linux g++ 13 C++20",
84+
os: ubuntu-22.04,
85+
buildtype: Release,
86+
cxx: "g++-13",
87+
cxxver: 20,
88+
}
7589
- {
7690
name: "Linux clang-10 C++17",
7791
os: ubuntu-20.04,
@@ -336,6 +350,23 @@ jobs:
336350
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa
337351
sudo apt-get install g++-11
338352
353+
- name: Install g++ 12
354+
id: install_gcc_12
355+
if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'g++-12' )
356+
shell: bash
357+
working-directory: ${{ env.HOME }}
358+
run: |
359+
sudo apt-get install g++-12
360+
361+
- name: Install g++ 13
362+
id: install_gcc_13
363+
if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'g++-13' )
364+
shell: bash
365+
working-directory: ${{ env.HOME }}
366+
run: |
367+
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa
368+
sudo apt-get install g++-13
369+
339370
- name: Install MSVC 2017
340371
id: install_msvc_2017
341372
if: startsWith(matrix.config.os, 'windows-2019') && ( matrix.config.cxx == 'cl' ) && ( matrix.config.msvcver == 2017 )
@@ -346,14 +377,6 @@ jobs:
346377
choco install visualstudio2017-workload-nativedesktop
347378
choco install visualstudio2017-workload-vctools
348379
349-
- name: Install g++ 12
350-
id: install_gcc_12
351-
if: startsWith(matrix.config.os, 'ubuntu') && ( matrix.config.cxx == 'g++-12' )
352-
shell: bash
353-
working-directory: ${{ env.HOME }}
354-
run: |
355-
sudo apt-get install g++-12
356-
357380
- name: Create Build Environment
358381
# Some projects don't allow in-source building, so create a separate build directory
359382
# We'll use this as our working directory for all subsequent commands

test/generator_tests.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include <vector>
1212
#include <string>
1313
#include <forward_list>
14+
#include <cstdint>
1415

1516
#include "doctest/cppcoro_doctest.h"
1617

0 commit comments

Comments
 (0)