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: tags:
- v[0-9]* - 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: jobs:
windows: windows:
runs-on: windows-2022 runs-on: windows-2022

View File

@@ -3,6 +3,10 @@ on:
- push - push
- pull_request - 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: jobs:
unix: unix:
strategy: strategy:
@@ -359,6 +363,7 @@ jobs:
- name: Build & test using CMake on FreeBSD - name: Build & test using CMake on FreeBSD
uses: vmactions/freebsd-vm@v1 uses: vmactions/freebsd-vm@v1
with: with:
envs: CLICOLOR_FORCE CMAKE_COLOR_DIAGNOSTICS
release: "14.3" release: "14.3"
usesh: true usesh: true
prepare: | prepare: |