Skip to content

Commit

Permalink
Color the GHA build when using Ninja
Browse files Browse the repository at this point in the history
  • Loading branch information
mmatyas committed Apr 2, 2024
1 parent edb33a8 commit 3ed3149
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
- name: Configure with SDL1
if: matrix.sdl == 1
run: cmake -B build -G Ninja -DUSE_SDL2_LIBS=OFF -DUSE_PNG_SAVE=OFF -DSMW_INSTALL_PORTABLE=ON
run: cmake -B build -G Ninja -DUSE_SDL2_LIBS=OFF -DUSE_PNG_SAVE=OFF -DSMW_INSTALL_PORTABLE=ON -DCMAKE_CXX_FLAGS=-fdiagnostics-color=always
- name: Configure with SDL2
if: matrix.sdl == 2
run: cmake -B build -G Ninja -DUSE_SDL2_LIBS=ON -DUSE_PNG_SAVE=ON -DSMW_INSTALL_PORTABLE=ON
run: cmake -B build -G Ninja -DUSE_SDL2_LIBS=ON -DUSE_PNG_SAVE=ON -DSMW_INSTALL_PORTABLE=ON -DCMAKE_CXX_FLAGS=-fdiagnostics-color=always

- name: Build
run: cmake --build build --verbose
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build_mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
-DUSE_PNG_SAVE=ON
-DUSE_SDL2_LIBS=ON
-DSDL2_USE_MIXERX=ON
-DCMAKE_CXX_FLAGS=-fdiagnostics-color=always
- name: Build
run: cmake --build build --verbose

Expand Down

0 comments on commit 3ed3149

Please sign in to comment.