From b14f8a1e3a62fc11628f2821e99b46c33f4d2f10 Mon Sep 17 00:00:00 2001 From: pantor Date: Wed, 19 May 2021 20:16:00 +0200 Subject: [PATCH] add ci for gcc 10, 11 --- .github/workflows/ci.yml | 12 ++++++++++++ README.md | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ddf9ada..fdd25bf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/README.md b/README.md index 4c55556..2dba30e 100644 --- a/README.md +++ b/README.md @@ -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).