From 8619f8934a2762fa35d80b792ad349cd1128c1e9 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 11 Jul 2023 21:17:10 +0200 Subject: test: add test for segfaulting CI script The C code leaked out of src/, so I moved .clang-format and some compile options to the root directory. Also, I'm starting to hit test execution limits; I'm going to limit the repositories used for stress testing. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 95f423e..64efa33 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,9 @@ project(cimple VERSION 0.0.1 LANGUAGES C) enable_testing() +add_compile_options(-std=c17 -Wpedantic -Wall -Wextra) +add_compile_options($<$>:-Werror>) + add_subdirectory(src) add_subdirectory(test) -- cgit v1.2.3