mirror of
https://github.com/gbdev/rgbds.git
synced 2026-05-08 19:09:36 +00:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user