Enable colour diagnostics in CI

At least for CMake.
This commit is contained in:
ISSOtm
2026-03-18 02:34:45 +01:00
committed by Eldred Habert
parent d6d1844d60
commit c93f377bfb
2 changed files with 9 additions and 0 deletions

View File

@@ -4,6 +4,10 @@ on:
tags:
- v[0-9]*
env:
CLICOLOR_FORCE: 1 # Tells CMake to have colored output.
CMAKE_COLOR_DIAGNOSTICS: ON # Tells CMake-generated build systems to have colored output.
jobs:
windows:
runs-on: windows-2022

View File

@@ -3,6 +3,10 @@ on:
- push
- pull_request
env:
CLICOLOR_FORCE: 1 # Tells CMake to have colored output.
CMAKE_COLOR_DIAGNOSTICS: ON # Tells CMake-generated build systems to have colored output.
jobs:
unix:
strategy:
@@ -359,6 +363,7 @@ jobs:
- name: Build & test using CMake on FreeBSD
uses: vmactions/freebsd-vm@v1
with:
envs: CLICOLOR_FORCE CMAKE_COLOR_DIAGNOSTICS
release: "14.3"
usesh: true
prepare: |