add tests for gcc 4.8, bump to 3.0

This commit is contained in:
pantor
2020-07-15 18:34:47 +02:00
parent 17175f70da
commit 5938bc2301
4 changed files with 9 additions and 3 deletions

View File

@@ -16,6 +16,7 @@ jobs:
fail-fast: false
matrix:
name: [
ubuntu-18.04-gcc-4.8,
ubuntu-18.04-gcc-5,
ubuntu-18.04-gcc-6,
ubuntu-18.04-gcc-7,
@@ -45,6 +46,11 @@ jobs:
]
include:
- name: ubuntu-18.04-gcc-4.8
os: ubuntu-18.04
compiler: gcc
version: "4.8"
- name: ubuntu-18.04-gcc-5
os: ubuntu-18.04
compiler: gcc

View File

@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.5)
project(inja LANGUAGES CXX VERSION 2.3.0)
project(inja LANGUAGES CXX VERSION 3.0.0)
option(INJA_USE_EMBEDDED_JSON "Use the shipped json header if not available on the system" ON)

View File

@@ -312,7 +312,7 @@ render("Hello{# Todo #}!", data); // "Hello!"
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 5.0 - 9 (and possibly later)
- GCC 4.8 - 9 (and possibly later)
- Clang 3.5 - 9 (and possibly later)
- Microsoft Visual C++ 2016 - 2019 (and possibly later)

View File

@@ -38,7 +38,7 @@ PROJECT_NAME = "Inja"
# could be handy for archiving the generated documentation or if some version
# control system is used.
PROJECT_NUMBER = 2.2.0
PROJECT_NUMBER = 3.0.0
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a