mirror of
https://github.com/gbdev/rgbds.git
synced 2026-05-08 10:59:36 +00:00
Enable color output in our Linux and macOS CI tests (#1939)
Co-authored-by: Rangi <sylvie.oukaour+rangi42@gmail.com>
This commit is contained in:
@@ -3,6 +3,12 @@ on:
|
||||
- push
|
||||
- pull_request
|
||||
|
||||
env:
|
||||
# Force colored output (see https://bixense.com/clicolors/ and https://force-color.org/)
|
||||
TERM: xterm-256color
|
||||
CLICOLOR: 1
|
||||
CLICOLOR_FORCE: 1
|
||||
|
||||
jobs:
|
||||
analysis:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -6,6 +6,12 @@ on:
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
env:
|
||||
# Force colored output (see https://bixense.com/clicolors/ and https://force-color.org/)
|
||||
TERM: xterm-256color
|
||||
CLICOLOR: 1
|
||||
CLICOLOR_FORCE: 1
|
||||
|
||||
jobs:
|
||||
publish-docker-image:
|
||||
if: github.repository_owner == 'gbdev'
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
name: Diff completeness check
|
||||
on: pull_request
|
||||
|
||||
env:
|
||||
# Force colored output (see https://bixense.com/clicolors/ and https://force-color.org/)
|
||||
TERM: xterm-256color
|
||||
CLICOLOR: 1
|
||||
CLICOLOR_FORCE: 1
|
||||
|
||||
jobs:
|
||||
checkdiff:
|
||||
runs-on: ubuntu-slim
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
name: Code format checking
|
||||
on: pull_request
|
||||
|
||||
env:
|
||||
# Force colored output (see https://bixense.com/clicolors/ and https://force-color.org/)
|
||||
TERM: xterm-256color
|
||||
CLICOLOR: 1
|
||||
CLICOLOR_FORCE: 1
|
||||
|
||||
jobs:
|
||||
checkformat:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -3,6 +3,12 @@ on:
|
||||
- push
|
||||
- pull_request
|
||||
|
||||
env:
|
||||
# Force colored output (see https://bixense.com/clicolors/ and https://force-color.org/)
|
||||
TERM: xterm-256color
|
||||
CLICOLOR: 1
|
||||
CLICOLOR_FORCE: 1
|
||||
|
||||
jobs:
|
||||
coverage:
|
||||
runs-on: ubuntu-24.04
|
||||
|
||||
@@ -5,7 +5,11 @@ on:
|
||||
- v[0-9]*
|
||||
|
||||
env:
|
||||
CLICOLOR_FORCE: 1 # Tells CMake to have colored output.
|
||||
# Force colored output (see https://bixense.com/clicolors/ and https://force-color.org/)
|
||||
TERM: xterm-256color
|
||||
CLICOLOR: 1
|
||||
CLICOLOR_FORCE: 1
|
||||
|
||||
CMAKE_COLOR_DIAGNOSTICS: ON # Tells CMake-generated build systems to have colored output.
|
||||
# Approximate number of CPU cores in GitHub's runners as of 2026-03-18:
|
||||
# https://docs.github.com/en/actions/reference/runners/github-hosted-runners#standard-github-hosted-runners-for-public-repositories
|
||||
|
||||
@@ -4,6 +4,12 @@ on:
|
||||
types:
|
||||
- released # This avoids triggering on pre-releases
|
||||
|
||||
env:
|
||||
# Force colored output (see https://bixense.com/clicolors/ and https://force-color.org/)
|
||||
TERM: xterm-256color
|
||||
CLICOLOR: 1
|
||||
CLICOLOR_FORCE: 1
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: github.repository_owner == 'gbdev'
|
||||
|
||||
@@ -4,7 +4,11 @@ on:
|
||||
- pull_request
|
||||
|
||||
env:
|
||||
CLICOLOR_FORCE: 1 # Tells CMake to have colored output.
|
||||
# Force colored output (see https://bixense.com/clicolors/ and https://force-color.org/)
|
||||
TERM: xterm-256color
|
||||
CLICOLOR: 1
|
||||
CLICOLOR_FORCE: 1
|
||||
|
||||
CMAKE_COLOR_DIAGNOSTICS: ON # Tells CMake-generated build systems to have colored output.
|
||||
CMAKE_CONFIG_TYPE: Debug # `cmake --build` now implies `--config Debug`.
|
||||
# Approximate number of CPU cores in GitHub's runners as of 2026-03-18:
|
||||
@@ -362,8 +366,9 @@ jobs:
|
||||
uses: vmactions/freebsd-vm@v1
|
||||
with:
|
||||
envs: >-
|
||||
CLICOLOR_FORCE CMAKE_COLOR_DIAGNOSTICS CMAKE_CONFIG_TYPE
|
||||
CMAKE_BUILD_PARALLEL_LEVEL CMAKE_INSTALL_PARALLEL_LEVEL CTEST_PARALLEL_LEVEL
|
||||
TERM CLICOLOR CLICOLOR_FORCE
|
||||
CMAKE_COLOR_DIAGNOSTICS CMAKE_CONFIG_TYPE
|
||||
CMAKE_BUILD_PARALLEL_LEVEL CTEST_PARALLEL_LEVEL
|
||||
CTEST_NO_TESTS_ACTION CTEST_OUTPUT_ON_FAILURE
|
||||
GIT_CONFIG_COUNT GIT_CONFIG_KEY_0 GIT_CONFIG_VALUE_0
|
||||
release: "14.3"
|
||||
|
||||
@@ -7,6 +7,12 @@ on:
|
||||
- man/*
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
# Force colored output (see https://bixense.com/clicolors/ and https://force-color.org/)
|
||||
TERM: xterm-256color
|
||||
CLICOLOR: 1
|
||||
CLICOLOR_FORCE: 1
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: github.repository_owner == 'gbdev'
|
||||
|
||||
Reference in New Issue
Block a user