mirror of
https://github.com/shadps4-emu/ext-SDL.git
synced 2024-11-26 19:40:23 +00:00
ci: fail CMake configuration on warning
This commit is contained in:
parent
23c2c15a70
commit
64c97906c9
3
.github/workflows/android.yml
vendored
3
.github/workflows/android.yml
vendored
@ -36,7 +36,8 @@ jobs:
|
||||
- name: Configure (CMake)
|
||||
if: ${{ matrix.platform.name == 'CMake' }}
|
||||
run: |
|
||||
cmake -B build \
|
||||
cmake -S . -B build \
|
||||
-Wdeprecated -Wdev -Werror \
|
||||
-DCMAKE_TOOLCHAIN_FILE=${{ steps.setup_ndk.outputs.ndk-path }}/build/cmake/android.toolchain.cmake \
|
||||
-DSDL_WERROR=ON \
|
||||
-DANDROID_PLATFORM=${{ matrix.platform.android_platform }} \
|
||||
|
1
.github/workflows/emscripten.yml
vendored
1
.github/workflows/emscripten.yml
vendored
@ -21,6 +21,7 @@ jobs:
|
||||
- name: Configure CMake
|
||||
run: |
|
||||
emcmake cmake -S . -B build \
|
||||
-Wdeprecated -Wdev -Werror \
|
||||
-DSDL_WERROR=ON \
|
||||
-DSDL_TESTS=ON \
|
||||
-DSDL_INSTALL_TESTS=ON \
|
||||
|
1
.github/workflows/haiku.yml
vendored
1
.github/workflows/haiku.yml
vendored
@ -26,6 +26,7 @@ jobs:
|
||||
tar -cf - ./ | vmshell tar -xf - -C ./src/
|
||||
- name: Configure (CMake)
|
||||
run: vmshell cmake -S src -B build -GNinja \
|
||||
-Wdeprecated -Wdev -Werror \
|
||||
-DSDL_TESTS=ON \
|
||||
-DSDL_WERROR=ON \
|
||||
-DSDL_INSTALL_TESTS=ON \
|
||||
|
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
@ -70,6 +70,7 @@ jobs:
|
||||
- name: Configure (CMake)
|
||||
run: |
|
||||
cmake -S . -B build -G Ninja \
|
||||
-Wdeprecated -Wdev -Werror \
|
||||
-DSDL_TESTS=ON \
|
||||
-DSDL_WERROR=ON \
|
||||
-DSDL_INSTALL_TESTS=ON \
|
||||
|
1
.github/workflows/msvc.yml
vendored
1
.github/workflows/msvc.yml
vendored
@ -44,6 +44,7 @@ jobs:
|
||||
"""))
|
||||
- name: Configure (CMake)
|
||||
run: cmake -S build -B build `
|
||||
-Wdeprecated -Wdev -Werror `
|
||||
-DSDL_WERROR=${{ !matrix.platform.nowerror }} `
|
||||
-DSDL_TESTS=ON `
|
||||
-DSDL_INSTALL_TESTS=ON `
|
||||
|
1
.github/workflows/n3ds.yml
vendored
1
.github/workflows/n3ds.yml
vendored
@ -20,6 +20,7 @@ jobs:
|
||||
- name: Configure CMake
|
||||
run: |
|
||||
cmake -S . -B build -G Ninja \
|
||||
-Wdeprecated -Wdev -Werror \
|
||||
-DCMAKE_TOOLCHAIN_FILE=${DEVKITPRO}/cmake/3DS.cmake \
|
||||
-DSDL_WERROR=ON \
|
||||
-DSDL_TESTS=ON \
|
||||
|
1
.github/workflows/ps2.yml
vendored
1
.github/workflows/ps2.yml
vendored
@ -46,6 +46,7 @@ jobs:
|
||||
- name: Verify CMake configuration files
|
||||
run: |
|
||||
cmake -S cmake/test -B cmake_config_build -G Ninja \
|
||||
-Wdeprecated -Wdev -Werror \
|
||||
-DCMAKE_TOOLCHAIN_FILE=$PS2DEV/ps2sdk/ps2dev.cmake \
|
||||
-DTEST_SHARED=FALSE \
|
||||
-DCMAKE_PREFIX_PATH=${{ env.SDL3_DIR }} \
|
||||
|
1
.github/workflows/psp.yml
vendored
1
.github/workflows/psp.yml
vendored
@ -19,6 +19,7 @@ jobs:
|
||||
- name: Configure CMake
|
||||
run: |
|
||||
cmake -S . -B build \
|
||||
-Wdeprecated -Wdev -Werror \
|
||||
-DCMAKE_TOOLCHAIN_FILE=$PSPDEV/psp/share/pspdev.cmake \
|
||||
-DSDL_WERROR=ON \
|
||||
-DSDL_TESTS=ON \
|
||||
|
1
.github/workflows/riscos.yml
vendored
1
.github/workflows/riscos.yml
vendored
@ -26,6 +26,7 @@ jobs:
|
||||
if: ${{ contains(matrix.platform.name, 'CMake') }}
|
||||
run: |
|
||||
cmake -S . -B build -G Ninja \
|
||||
-Wdeprecated -Wdev -Werror \
|
||||
-DCMAKE_TOOLCHAIN_FILE=/home/riscos/env/toolchain-riscos.cmake \
|
||||
-DRISCOS:BOOL=ON \
|
||||
-DSDL_GCC_ATOMICS=OFF \
|
||||
|
1
.github/workflows/vita.yml
vendored
1
.github/workflows/vita.yml
vendored
@ -68,6 +68,7 @@ jobs:
|
||||
- name: Configure CMake
|
||||
run: |
|
||||
cmake -S . -B build -G Ninja \
|
||||
-Wdeprecated -Wdev -Werror \
|
||||
-DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake \
|
||||
-DVIDEO_VITA_PIB=${{ !!matrix.platform.pib }} \
|
||||
-DVIDEO_VITA_PVR=${{ !!matrix.platform.pvr }} \
|
||||
|
1
.github/workflows/vmactions.yml
vendored
1
.github/workflows/vmactions.yml
vendored
@ -49,6 +49,7 @@ jobs:
|
||||
|
||||
run: |
|
||||
cmake -S . -B build -GNinja \
|
||||
-Wdeprecated -Wdev -Werror \
|
||||
-DSDL_CHECK_REQUIRED_INCLUDES="/usr/local/include" \
|
||||
-DSDL_CHECK_REQUIRED_LINK_OPTIONS="-L/usr/local/lib"
|
||||
cmake --build build --verbose -- -j`sysctl -n hw.ncpu`
|
||||
|
Loading…
Reference in New Issue
Block a user