Skip to content

Commit

Permalink
Merge pull request #1379 from MaxKellermann/ninja_v
Browse files Browse the repository at this point in the history
.github/workflows/build*: pass "-v" to ninja
  • Loading branch information
cbnolok authored Feb 17, 2025
2 parents 5a9b918 + 8ad988a commit 08a1554
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/build_linux_x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ jobs:
with:
key: ${{github.job}}

- name: Configure ccache
run: ccache --set-config sloppiness="include_file_mtime, include_file_ctime, time_macros, pch_defines"

- name: Report building tools
run: |
echo "GCC:" && gcc -v
Expand All @@ -100,9 +103,11 @@ jobs:
cmake -G "Ninja" -DCMAKE_BUILD_TYPE="Nightly" \
-DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/Linux-GNU-x86.cmake \
-DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DCMAKE_C_FLAGS="-fpch-preprocess" \
-DCMAKE_CXX_FLAGS="-fpch-preprocess" \
-S ./ -B ./build
- name: Ninja
run: ninja -C build
run: ninja -C build -v
- name: Create package
run: |
mkdir accounts logs save scripts
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/build_linux_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ jobs:
with:
key: ${{github.job}}

- name: Configure ccache
run: ccache --set-config sloppiness="include_file_mtime, include_file_ctime, time_macros, pch_defines"

- name: Report building tools
run: |
echo "GCC:" && gcc -v
Expand All @@ -55,9 +58,11 @@ jobs:
cmake -G "Ninja" -DCMAKE_BUILD_TYPE="Nightly" \
-DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/Linux-GNU-x86_64.cmake \
-DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DCMAKE_C_FLAGS="-fpch-preprocess" \
-DCMAKE_CXX_FLAGS="-fpch-preprocess" \
-S ./ -B ./build
- name: Ninja
run: ninja -C build
run: ninja -C build -v
- name: Create package
run: |
mkdir accounts logs save scripts
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_osx_arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
mkdir -p build
cmake -G "Ninja" -DCMAKE_BUILD_TYPE="Nightly" -DCMAKE_TOOLCHAIN_FILE="$CMAKE_TCH" -S . -B ./build
- name: Ninja
run: ninja -C build
run: ninja -C build -v
- name: Create package
run: |
pwd
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_osx_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
mkdir -p build
cmake -G "Ninja" -DCMAKE_BUILD_TYPE="Nightly" -DCMAKE_TOOLCHAIN_FILE="$CMAKE_TCH" -S . -B ./build
- name: Ninja
run: ninja -C build
run: ninja -C build -v
- name: Create package
run: |
pwd
Expand Down

0 comments on commit 08a1554

Please sign in to comment.