From b1c00cfd959ac4ecbcda78f46ef49132ad0fe21f Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 24 Mar 2024 14:31:08 +1000 Subject: [PATCH] CI: Don't bother building SDL2 debug Nobody's actually running debug DS builds except me... --- scripts/build-dependencies-windows-arm64.bat | 6 ------ scripts/build-dependencies-windows-x64.bat | 6 ------ 2 files changed, 12 deletions(-) diff --git a/scripts/build-dependencies-windows-arm64.bat b/scripts/build-dependencies-windows-arm64.bat index 293472ebf..ea87a71fa 100644 --- a/scripts/build-dependencies-windows-arm64.bat +++ b/scripts/build-dependencies-windows-arm64.bat @@ -122,12 +122,6 @@ echo Building SDL... rmdir /S /Q "%SDL%" %SEVENZIP% x "%SDL%.zip" || goto error cd "%SDL%" || goto error -if %DEBUG%==1 ( - cmake -B build-debug %ARM64TOOLCHAIN% -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="%INSTALLDIR%" -DBUILD_SHARED_LIBS=ON -DSDL_SHARED=ON -DSDL_STATIC=OFF -G Ninja || goto error - cmake --build build-debug --parallel || goto error - ninja -C build-debug install || goto error - copy build-debug\SDL2d.pdb "%INSTALLDIR%\bin" || goto error -) cmake -B build %ARM64TOOLCHAIN% -DCMAKE_BUILD_TYPE=Release %FORCEPDB% -DCMAKE_INSTALL_PREFIX="%INSTALLDIR%" -DBUILD_SHARED_LIBS=ON -DSDL_SHARED=ON -DSDL_STATIC=OFF -G Ninja || goto error cmake --build build --parallel || goto error ninja -C build install || goto error diff --git a/scripts/build-dependencies-windows-x64.bat b/scripts/build-dependencies-windows-x64.bat index 0e102ed62..d710e0e6b 100644 --- a/scripts/build-dependencies-windows-x64.bat +++ b/scripts/build-dependencies-windows-x64.bat @@ -119,12 +119,6 @@ echo Building SDL... rmdir /S /Q "%SDL%" %SEVENZIP% x "%SDL%.zip" || goto error cd "%SDL%" || goto error -if %DEBUG%==1 ( - cmake -B build-debug -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="%INSTALLDIR%" -DBUILD_SHARED_LIBS=ON -DSDL_SHARED=ON -DSDL_STATIC=OFF -G Ninja || goto error - cmake --build build-debug --parallel || goto error - ninja -C build-debug install || goto error - copy build-debug\SDL2d.pdb "%INSTALLDIR%\bin" || goto error -) cmake -B build -DCMAKE_BUILD_TYPE=Release %FORCEPDB% -DCMAKE_INSTALL_PREFIX="%INSTALLDIR%" -DBUILD_SHARED_LIBS=ON -DSDL_SHARED=ON -DSDL_STATIC=OFF -G Ninja || goto error cmake --build build --parallel || goto error ninja -C build install || goto error