Use Ninja on Unix platforms

It has nicer UX, only showing full command lines when they fail.
It could also be slightly faster, though I've seen no measurable improvement.
This commit is contained in:
ISSOtm
2026-04-15 00:32:19 +02:00
committed by Rangi
parent 59dd1fbbf8
commit 71fc449452
2 changed files with 10 additions and 10 deletions
@@ -40,7 +40,7 @@ jobs:
run: |
call .github\scripts\msvc-env.bat ${{ matrix.bits }}
cmake -S . -B build -G Ninja -DFETCHCONTENT_BASE_DIR="${{ env.DEPS_ROOT_DIR }}"
cmake --build build
cmake --build build -- -k 0
- name: Package binaries
working-directory: build
run: |
@@ -62,8 +62,8 @@ jobs:
./.github/scripts/install_deps.sh macos lld
- name: Build binaries
run: |
cmake -S . -B build --preset macos-static -DFETCHCONTENT_BASE_DIR="${{ env.DEPS_ROOT_DIR }}"
cmake --build build -- --output-sync --keep-going
cmake -S . -B build -G Ninja --preset macos-static -DFETCHCONTENT_BASE_DIR="${{ env.DEPS_ROOT_DIR }}"
cmake --build build -- -k 0
strip rgb{asm,link,fix,gfx}
env:
LDFLAGS: -fuse-ld=lld # cmake/macos-static.cmake comments explain why we use lld.