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:
Simon McVittie
2022-05-04 18:14:22 +01:00
committed by Sam Lantinga
parent 4da47601be
commit 79a16da61e
4 changed files with 8 additions and 8 deletions

View File

@@ -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'