mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-09 09:24:24 +02:00
workflows: Change how we make CMake verbose
Some CI workers don't seem to understand `cmake -v`, and Windows' shell doesn't understand `VERBOSE=1 cmake`. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
committed by
Sam Lantinga
parent
4da47601be
commit
79a16da61e
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@@ -82,14 +82,14 @@ jobs:
|
||||
if: runner.os == 'Linux'
|
||||
run: ./test/versioning.sh
|
||||
- name: Configure CMake
|
||||
run: cmake -B build -DSDL_TEST=ON ${{ matrix.platform.flags }}
|
||||
run: cmake -B build -DSDL_TEST=ON -DCMAKE_VERBOSE_MAKEFILE=ON ${{ matrix.platform.flags }}
|
||||
- name: Build
|
||||
run: cmake -v --build build/ --config Release
|
||||
run: cmake --build build/ --config Release
|
||||
- name: Install
|
||||
run: |
|
||||
set -eu
|
||||
rm -fr DESTDIR-cmake
|
||||
DESTDIR=$(pwd)/DESTDIR-cmake cmake -v --install build/ --config Release
|
||||
DESTDIR=$(pwd)/DESTDIR-cmake cmake --install build/ --config Release
|
||||
( cd DESTDIR-cmake; find ) | LC_ALL=C sort -u
|
||||
- name: Configure Autotools
|
||||
if: runner.os == 'Linux'
|
||||
|
||||
Reference in New Issue
Block a user