From 52aa518e20884b45d87a2a20d430e6eb5c3852e6 Mon Sep 17 00:00:00 2001 From: Eldred Habert Date: Tue, 24 Mar 2026 12:40:34 +0100 Subject: [PATCH] Enable Git colours in CI --- .github/workflows/testing.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index a59854d4..8dcfbb9f 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -12,6 +12,10 @@ env: CMAKE_INSTALL_PARALLEL_LEVEL: 4 # `cmake --install` now implies `--parallel 4`. CMAKE_CONFIG_TYPE: Debug # `cmake --build` now implies `--config Debug`. + GIT_CONFIG_COUNT: 1 + GIT_CONFIG_KEY_0: color.ui + GIT_CONFIG_VALUE_0: always # CI output is not considered to be a terminal, but colour is helpful. + # We instruct CMake to download and build third-party projects outside of our source tree, # otherwise they can trigger `-Werror=dev` (from the `develop` preset). DEPS_ROOT_DIR: ~/_deps # Note that this needs to be used in a position where Bash will trigger tilde expansion!