Skip to content

Commit

Permalink
[INFRA] colored CI output
Browse files Browse the repository at this point in the history
  • Loading branch information
eseiler committed Oct 19, 2023
1 parent d1a9906 commit 8a56187
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ concurrency:

env:
TZ: Europe/Berlin
GCC_COLORS: error=01;31:warning=01;35:note=01;36:range1=32:range2=34:locus=01:quote=01:path=01;36:fixit-insert=32:fixit-delete=31:diff-filename=01:diff-hunk=32:diff-delete=31:diff-insert=32:type-diff=01;32

defaults:
run:
shell: bash -Eexuo pipefail {0}
shell: script --return --quiet --command "bash -Eexuo pipefail {0}"

jobs:
build:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/ci_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ concurrency:

env:
TZ: Europe/Berlin
GCC_COLORS: error=01;31:warning=01;35:note=01;36:range1=32:range2=34:locus=01:quote=01:path=01;36:fixit-insert=32:fixit-delete=31:diff-filename=01:diff-hunk=32:diff-delete=31:diff-insert=32:type-diff=01;32

defaults:
run:
shell: bash -Eexuo pipefail {0}
shell: script --return --quiet --command "bash -Eexuo pipefail {0}"

jobs:
build:
Expand Down Expand Up @@ -89,7 +90,7 @@ jobs:
cmake ../test/${{ matrix.build }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
-DHIBF_NATIVE_BUILD=OFF \
-DHIBF_VERBOSE_TESTS=OFF \
-DCMAKE_CXX_FLAGS="${{ matrix.cxx_flags }}"
-DCMAKE_CXX_FLAGS="${{ matrix.cxx_flags }} -fdiagnostics-color=always"
make -j2 gtest_build
- name: Build tests
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci_misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ concurrency:

env:
TZ: Europe/Berlin
GCC_COLORS: error=01;31:warning=01;35:note=01;36:range1=32:range2=34:locus=01:quote=01:path=01;36:fixit-insert=32:fixit-delete=31:diff-filename=01:diff-hunk=32:diff-delete=31:diff-insert=32:type-diff=01;32

defaults:
run:
shell: bash -Eexuo pipefail {0}
shell: script --return --quiet --command "bash -Eexuo pipefail {0}"

jobs:
build:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci_util.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ concurrency:

env:
TZ: Europe/Berlin
GCC_COLORS: error=01;31:warning=01;35:note=01;36:range1=32:range2=34:locus=01:quote=01:path=01;36:fixit-insert=32:fixit-delete=31:diff-filename=01:diff-hunk=32:diff-delete=31:diff-insert=32:type-diff=01;32

defaults:
run:
shell: bash -Eexuo pipefail {0}
shell: script --return --quiet --command "bash -Eexuo pipefail {0}"

jobs:
build:
Expand Down

0 comments on commit 8a56187

Please sign in to comment.