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