mirror of
https://github.com/pantor/inja.git
synced 2026-02-17 09:03:58 +00:00
clang 5 minimum
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -21,7 +21,6 @@ jobs:
|
||||
ubuntu-18.04-gcc-9,
|
||||
ubuntu-20.04-gcc-10,
|
||||
ubuntu-20.04-gcc-11,
|
||||
ubuntu-18.04-clang-4.0,
|
||||
ubuntu-18.04-clang-5.0,
|
||||
ubuntu-18.04-clang-6.0,
|
||||
ubuntu-18.04-clang-7,
|
||||
@@ -67,11 +66,6 @@ jobs:
|
||||
compiler: gcc
|
||||
version: "11"
|
||||
|
||||
- name: ubuntu-18.04-clang-4.0
|
||||
os: ubuntu-18.04
|
||||
compiler: clang
|
||||
version: "4.0"
|
||||
|
||||
- name: ubuntu-18.04-clang-5.0
|
||||
os: ubuntu-18.04
|
||||
compiler: clang
|
||||
|
||||
@@ -76,7 +76,6 @@ if(BUILD_TESTING AND INJA_BUILD_TESTS)
|
||||
enable_testing()
|
||||
|
||||
add_executable(inja_test test/test.cpp)
|
||||
target_compile_features(inja_test INTERFACE cxx_std_17)
|
||||
target_link_libraries(inja_test PRIVATE inja)
|
||||
add_test(inja_test ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/inja_test)
|
||||
|
||||
@@ -92,7 +91,6 @@ if(BUILD_TESTING AND INJA_BUILD_TESTS)
|
||||
target_include_directories(single_inja INTERFACE single_include include third_party/include)
|
||||
|
||||
add_executable(single_inja_test test/test.cpp)
|
||||
target_compile_features(single_inja_test INTERFACE cxx_std_17)
|
||||
target_link_libraries(single_inja_test PRIVATE single_inja)
|
||||
|
||||
add_test(single_inja_test ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/single_inja_test)
|
||||
@@ -101,7 +99,6 @@ endif()
|
||||
|
||||
if(BUILD_BENCHMARK)
|
||||
add_executable(inja_benchmark test/benchmark.cpp)
|
||||
target_compile_features(inja_benchmark INTERFACE cxx_std_17)
|
||||
target_link_libraries(inja_benchmark PRIVATE inja)
|
||||
|
||||
if(MSVC)
|
||||
|
||||
@@ -385,7 +385,7 @@ Inja uses exceptions to handle ill-formed template input. However, exceptions ca
|
||||
Inja uses the `string_view` feature of the C++17 STL. Currently, the following compilers are tested:
|
||||
|
||||
- GCC 7 - 11 (and possibly later)
|
||||
- Clang 4 - 12 (and possibly later)
|
||||
- Clang 5 - 12 (and possibly later)
|
||||
- Microsoft Visual C++ 2017 15.0 - 2022 (and possibly later)
|
||||
|
||||
A 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