mirror of https://github.com/encounter/SDL.git
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:
parent
4da47601be
commit
79a16da61e
|
@ -11,6 +11,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
version: 2.0.27
|
version: 2.0.27
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
run: emcmake cmake -B build
|
run: emcmake cmake -B build -DCMAKE_VERBOSE_MAKEFILE=ON
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cmake -v --build build/
|
run: cmake --build build/
|
||||||
|
|
|
@ -82,14 +82,14 @@ jobs:
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
run: ./test/versioning.sh
|
run: ./test/versioning.sh
|
||||||
- name: Configure CMake
|
- 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
|
- name: Build
|
||||||
run: cmake -v --build build/ --config Release
|
run: cmake --build build/ --config Release
|
||||||
- name: Install
|
- name: Install
|
||||||
run: |
|
run: |
|
||||||
set -eu
|
set -eu
|
||||||
rm -fr DESTDIR-cmake
|
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
|
( cd DESTDIR-cmake; find ) | LC_ALL=C sort -u
|
||||||
- name: Configure Autotools
|
- name: Configure Autotools
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
|
|
|
@ -23,7 +23,7 @@ jobs:
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
run: cmake -B build -DSDL_TEST=ON ${{ matrix.platform.flags }}
|
run: cmake -B build -DSDL_TEST=ON ${{ matrix.platform.flags }}
|
||||||
- name: Build CMake
|
- name: Build CMake
|
||||||
run: cmake -v --build build/ --config Release --parallel
|
run: cmake --build build/ --config Release --parallel
|
||||||
|
|
||||||
- name: Add msbuild to PATH
|
- name: Add msbuild to PATH
|
||||||
if: ${{ matrix.platform.project != '' }}
|
if: ${{ matrix.platform.project != '' }}
|
||||||
|
|
|
@ -23,6 +23,6 @@ jobs:
|
||||||
run: apt-get update && apt-get install -y cmake ninja-build
|
run: apt-get update && apt-get install -y cmake ninja-build
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
run: cmake -S. -Bbuild -G Ninja -DCMAKE_TOOLCHAIN_FILE=/home/riscos/env/toolchain-riscos.cmake -DRISCOS=ON -DSDL_GCC_ATOMICS=OFF -DCMAKE_BUILD_TYPE=Release
|
run: cmake -S. -Bbuild -G Ninja -DCMAKE_TOOLCHAIN_FILE=/home/riscos/env/toolchain-riscos.cmake -DRISCOS=ON -DSDL_GCC_ATOMICS=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=ON
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cmake -v --build build
|
run: cmake --build build
|
||||||
|
|
Loading…
Reference in New Issue