File tree Expand file tree Collapse file tree 6 files changed +10272
-13197
lines changed
Expand file tree Collapse file tree 6 files changed +10272
-13197
lines changed Original file line number Diff line number Diff line change 1- # Based on: https://github.com/onqtam/doctest/blob/master/.github/workflows/main.yml
2-
31name : CI
42
53on : [push, pull_request]
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ if(BUILD_TESTING AND INJA_BUILD_TESTS)
8484 if (MSVC )
8585 target_compile_options (inja_test PRIVATE /W4 /permissive-)
8686 else ()
87- target_compile_options (inja_test PRIVATE -Wall -Wextra -pedantic )
87+ target_compile_options (inja_test PRIVATE -Wall -Wextra -Werror )
8888 endif ()
8989
9090
@@ -102,12 +102,6 @@ endif()
102102if (BUILD_BENCHMARK)
103103 add_executable (inja_benchmark test /benchmark.cpp)
104104 target_link_libraries (inja_benchmark PRIVATE inja)
105-
106- if (MSVC )
107- target_compile_options (inja_benchmark PRIVATE /W4 /permissive-)
108- else ()
109- target_compile_options (inja_benchmark PRIVATE -Wall -Wextra -pedantic)
110- endif ()
111105endif ()
112106
113107
Original file line number Diff line number Diff line change 33 |_ _|_ __ (_) __ _ https://github.com/pantor/inja
44 | || '_ \ | |/ _` | Licensed under the MIT License <http://opensource.org/licenses/MIT>.
55 | || | | || | (_| |
6- |___|_| |_|/ |\__,_| Copyright (c) 2018-2021 Lars Berscheid
6+ |___|_| |_|/ |\__,_| Copyright (c) 2018-2022 Lars Berscheid
77 |__/
88Permission is hereby granted, free of charge, to any person obtaining a copy
99of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 33 |_ _|_ __ (_) __ _ https://github.com/pantor/inja
44 | || '_ \ | |/ _` | Licensed under the MIT License <http://opensource.org/licenses/MIT>.
55 | || | | || | (_| |
6- |___|_| |_|/ |\__,_| Copyright (c) 2018-2021 Lars Berscheid
6+ |___|_| |_|/ |\__,_| Copyright (c) 2018-2022 Lars Berscheid
77 |__/
88Permission is hereby granted, free of charge, to any person obtaining a copy
99of this software and associated documentation files (the "Software"), to deal
You can’t perform that action at this time.
0 commit comments