From e6f81000f0a4d98c4d7d7c002a3ed9e82f4d142a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Hock?= Date: Sat, 23 Dec 2023 11:51:50 +0100 Subject: [PATCH] Check build success --- scripts/build_macos.sh | 2 +- scripts/build_ubuntu.sh | 2 +- scripts/build_windows.bat | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/build_macos.sh b/scripts/build_macos.sh index 0038058..4099c5f 100755 --- a/scripts/build_macos.sh +++ b/scripts/build_macos.sh @@ -13,7 +13,7 @@ ARTEFACTS=${OUTPUT}/StftPitchShiftPlugin_artefacts/${CONFIG} cmake ${ARGS} -DCMAKE_BUILD_TYPE=${CONFIG} -S "${INPUT}" -B "${OUTPUT}" || exit $? cmake --build "${OUTPUT}" || exit $? -if ! test -f "${ARTEFACTS}/libStftPitchShiftPlugin_SharedCode.a"; then +if ! test -f "${ARTEFACTS}/Standalone/StftPitchShiftPlugin.app"; then exit 1 fi diff --git a/scripts/build_ubuntu.sh b/scripts/build_ubuntu.sh index 1e3e6b7..a73804c 100755 --- a/scripts/build_ubuntu.sh +++ b/scripts/build_ubuntu.sh @@ -13,7 +13,7 @@ ARTEFACTS=${OUTPUT}/StftPitchShiftPlugin_artefacts/${CONFIG} cmake ${ARGS} -DCMAKE_BUILD_TYPE=${CONFIG} -S "${INPUT}" -B "${OUTPUT}" || exit $? cmake --build "${OUTPUT}" || exit $? -if ! test -f "${ARTEFACTS}/libStftPitchShiftPlugin_SharedCode.a"; then +if ! test -f "${ARTEFACTS}/Standalone/StftPitchShiftPlugin"; then exit 1 fi diff --git a/scripts/build_windows.bat b/scripts/build_windows.bat index f01cba1..81a90da 100644 --- a/scripts/build_windows.bat +++ b/scripts/build_windows.bat @@ -18,7 +18,7 @@ set ARTEFACTS=%OUTPUT%\StftPitchShiftPlugin_artefacts\%CONFIG% cmake %ARGS% -S "%INPUT%" -B "%OUTPUT%" || exit /b cmake --build "%OUTPUT%" --config %CONFIG% || exit /b -if not exist "%ARTEFACTS%\StftPitchShiftPlugin_SharedCode.lib" ( +if not exist "%ARTEFACTS%\Standalone\StftPitchShiftPlugin.exe" ( exit /b 1 )