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