mirror of
https://github.com/pantor/inja.git
synced 2026-04-03 06:38:52 +00:00
add ci for gcc 10, 11
This commit is contained in:
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user