From f297e9f840dab14bca6a40ba1c596e1df7a51feb Mon Sep 17 00:00:00 2001 From: Mahmood - Zer0xFF <5013823+Zer0xFF@users.noreply.github.com> Date: Mon, 4 May 2020 22:48:30 +0100 Subject: [PATCH] enable profile build on automatic builds --- .travis.sh | 4 ++-- appveyor_build.cmd | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.sh b/.travis.sh index e0485bfb76..f0e8593d1d 100644 --- a/.travis.sh +++ b/.travis.sh @@ -86,7 +86,7 @@ travis_script() source /opt/qt512/bin/qt512-env.sh || true export VULKAN_SDK=$(pwd)/../${VULKAN_SDK_VERSION}/x86_64 export PATH=$PATH:/opt/qt512/lib/cmake - cmake .. -G"$BUILD_TYPE" -DCMAKE_INSTALL_PREFIX=./appdir/usr -DBUILD_LIBRETRO_CORE=yes; + cmake .. -G"$BUILD_TYPE" -DCMAKE_INSTALL_PREFIX=./appdir/usr -DBUILD_LIBRETRO_CORE=yes -DPROFILE=yes cmake --build . ctest cmake --build . --target install @@ -102,7 +102,7 @@ travis_script() elif [ "$TARGET_OS" = "OSX" ]; then export CMAKE_PREFIX_PATH="$(brew --prefix qt5)" export VULKAN_SDK=$(pwd)/../vulkansdk-macos-${VULKAN_SDK_VERSION}/macOS - cmake .. -G"$BUILD_TYPE" -DBUILD_LIBRETRO_CORE=yes + cmake .. -G"$BUILD_TYPE" -DBUILD_LIBRETRO_CORE=yes -DPROFILE=yes cmake --build . --config Release ctest -C Release $(brew --prefix qt5)/bin/macdeployqt Source/ui_qt/Release/Play.app diff --git a/appveyor_build.cmd b/appveyor_build.cmd index f8733a2e44..a6306b644b 100644 --- a/appveyor_build.cmd +++ b/appveyor_build.cmd @@ -6,7 +6,7 @@ cd build if "%BUILD_PLAY%" == "ON" ( set BUILD_DIR=%cd% - cmake .. -G"%BUILD_TYPE%" -T v141_xp -DUSE_QT=on -DBUILD_LIBRETRO_CORE=yes -DCMAKE_PREFIX_PATH="C:\Qt\5.12\%QT_FLAVOR%" + cmake .. -G"%BUILD_TYPE%" -T v141_xp -DUSE_QT=on -DBUILD_LIBRETRO_CORE=yes -DPROFILE=yes -DCMAKE_PREFIX_PATH="C:\Qt\5.12\%QT_FLAVOR%" if !errorlevel! neq 0 exit /b !errorlevel! cmake --build . --config %CONFIG_TYPE%