diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-08-19 21:34:02 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-08-21 17:12:22 +0000 |
commit | 74e685b497ced2f899659e8df679eeef0e056204 (patch) | |
tree | a84cefec15bf963bd33a2a1a47b0677853aaeacd /.circleci | |
parent | 8e0aea1add4377e2c244fd61c29df60b42f8d611 (diff) |
Enable color diagnostics on circleci.
See https://github.com/ninja-build/ninja/issues/814
Diffstat (limited to '.circleci')
-rwxr-xr-x | .circleci/cmake-asan | 1 | ||||
-rwxr-xr-x | .circleci/cmake-tsan | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/.circleci/cmake-asan b/.circleci/cmake-asan index 235bb9a8..49220cbe 100755 --- a/.circleci/cmake-asan +++ b/.circleci/cmake-asan | |||
@@ -6,6 +6,7 @@ CACHEDIR="$HOME/cache" | |||
6 | 6 | ||
7 | . ".travis/flags-$CC.sh" | 7 | . ".travis/flags-$CC.sh" |
8 | add_flag -Werror | 8 | add_flag -Werror |
9 | add_flag -fdiagnostics-color=always | ||
9 | add_flag -fsanitize=address | 10 | add_flag -fsanitize=address |
10 | cmake -B_build -H. -GNinja \ | 11 | cmake -B_build -H. -GNinja \ |
11 | -DCMAKE_C_FLAGS="$C_FLAGS" \ | 12 | -DCMAKE_C_FLAGS="$C_FLAGS" \ |
diff --git a/.circleci/cmake-tsan b/.circleci/cmake-tsan index 60c2b515..65ccc437 100755 --- a/.circleci/cmake-tsan +++ b/.circleci/cmake-tsan | |||
@@ -6,6 +6,7 @@ CACHEDIR="$HOME/cache" | |||
6 | 6 | ||
7 | . ".travis/flags-$CC.sh" | 7 | . ".travis/flags-$CC.sh" |
8 | add_flag -Werror | 8 | add_flag -Werror |
9 | add_flag -fdiagnostics-color=always | ||
9 | add_flag -fsanitize=thread | 10 | add_flag -fsanitize=thread |
10 | cmake -H. -B_build -GNinja \ | 11 | cmake -H. -B_build -GNinja \ |
11 | -DCMAKE_C_FLAGS="$C_FLAGS" \ | 12 | -DCMAKE_C_FLAGS="$C_FLAGS" \ |