add ci for gcc 10, 11

This commit is contained in:
pantor
2021-05-19 20:16:00 +02:00
parent 06ff2711cf
commit b14f8a1e3a
2 changed files with 14 additions and 2 deletions

View File

@@ -21,6 +21,8 @@ jobs:
ubuntu-18.04-gcc-7,
ubuntu-18.04-gcc-8,
ubuntu-18.04-gcc-9,
ubuntu-20.04-gcc-10,
ubuntu-20.04-gcc-11,
ubuntu-18.04-clang-3.8,
ubuntu-18.04-clang-4.0,
ubuntu-18.04-clang-5.0,
@@ -72,6 +74,16 @@ jobs:
compiler: gcc
version: "9"
- name: ubuntu-20.04-gcc-10
os: ubuntu-20.04
compiler: gcc
version: "10"
- name: ubuntu-20.04-gcc-11
os: ubuntu-20.04
compiler: gcc
version: "11"
- name: ubuntu-18.04-clang-3.8
os: ubuntu-18.04
compiler: clang

View File

@@ -332,8 +332,8 @@ Inja uses exceptions to handle ill-formed template input. However, exceptions ca
Inja uses `string_view` from C++17, but includes the [polyfill](https://github.com/martinmoene/string-view-lite) from martinmoene. This way, the minimum version is C++11. Currently, the following compilers are tested:
- GCC 4.8 - 9 (and possibly later)
- Clang 3.5 - 9 (and possibly later)
- GCC 5 - 11 (and possibly later)
- Clang 3.8 - 11 (and possibly later)
- Microsoft Visual C++ 2016 - 2019 (and possibly later)
The unit tests fail to compile with GCC 4.8 but should just work fine. A complete list of supported compiler / os versions can be found in the [CI definition](https://github.com/pantor/inja/blob/master/.github/workflows/ci.yml).