Pass convenience options to Make invoked via CMake

Can't pass them to plain Make invocations,
because we try to be compatible with macOS' old Make.
This commit is contained in:
ISSOtm
2026-04-14 16:34:36 +02:00
committed by Rangi
parent 0553491107
commit a78a268cb4
2 changed files with 4 additions and 4 deletions
@@ -61,7 +61,7 @@ jobs:
- name: Build binaries
run: |
cmake -S . -B build --preset macos-static -DFETCHCONTENT_BASE_DIR="${{ env.DEPS_ROOT_DIR }}"
cmake --build build
cmake --build build -- --output-sync --keep-going
strip rgb{asm,link,fix,gfx}
env:
LDFLAGS: -fuse-ld=lld # cmake/macos-static.cmake comments explain why we use lld.
+3 -3
View File
@@ -64,7 +64,7 @@ jobs:
# better applied here than in our CMakeLists, where it could affect and break someone else.
run: |
cmake -S . -B build --preset develop -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_CXX_COMPILER=${{ matrix.cxx }} -DTESTS_OS_NAME=${{ matrix.os }}
cmake --build build --verbose
cmake --build build --verbose -- --output-sync --keep-going
sudo cmake --install build --verbose
- name: Package binaries
run: |
@@ -123,7 +123,7 @@ jobs:
- name: Build & install
run: |
cmake -S . -B build --preset macos-static -DFETCHCONTENT_BASE_DIR="${{ env.DEPS_ROOT_DIR }}" -DTESTS_OS_NAME=macos
cmake --build build
cmake --build build -- --output-sync --keep-going
env:
LDFLAGS: -fuse-ld=lld # cmake/macos-static.cmake comments explain why we use lld.
- name: Package binaries
@@ -371,6 +371,6 @@ jobs:
.github/scripts/install_deps.sh freebsd
run: | # Leak detection is not supported on FreeBSD, so disable it.
cmake -S . -B build --preset develop -DTESTS_OS_NAME=freebsd
cmake --build build --verbose
cmake --build build --verbose -- -k
ASAN_OPTIONS=detect_leaks=0 ctest --test-dir build --schedule-random --label-exclude external
cmake --install build --verbose