Skip to content

Commit 06d0d8b

Browse files
committed
enable profile build on automatic builds
1 parent 444515b commit 06d0d8b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ travis_script()
8686
source /opt/qt512/bin/qt512-env.sh || true
8787
export VULKAN_SDK=$(pwd)/../${VULKAN_SDK_VERSION}/x86_64
8888
export PATH=$PATH:/opt/qt512/lib/cmake
89-
cmake .. -G"$BUILD_TYPE" -DCMAKE_INSTALL_PREFIX=./appdir/usr -DBUILD_LIBRETRO_CORE=yes;
89+
cmake .. -G"$BUILD_TYPE" -DCMAKE_INSTALL_PREFIX=./appdir/usr -DBUILD_LIBRETRO_CORE=yes -DPROFILE=yes
9090
cmake --build .
9191
ctest
9292
cmake --build . --target install
@@ -102,7 +102,7 @@ travis_script()
102102
elif [ "$TARGET_OS" = "OSX" ]; then
103103
export CMAKE_PREFIX_PATH="$(brew --prefix qt5)"
104104
export VULKAN_SDK=$(pwd)/../vulkansdk-macos-${VULKAN_SDK_VERSION}/macOS
105-
cmake .. -G"$BUILD_TYPE" -DBUILD_LIBRETRO_CORE=yes
105+
cmake .. -G"$BUILD_TYPE" -DBUILD_LIBRETRO_CORE=yes -DPROFILE=yes
106106
cmake --build . --config Release
107107
ctest -C Release
108108
$(brew --prefix qt5)/bin/macdeployqt Source/ui_qt/Release/Play.app

appveyor_build.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ cd build
66

77
if "%BUILD_PLAY%" == "ON" (
88
set BUILD_DIR=%cd%
9-
cmake .. -G"%BUILD_TYPE%" -T v141_xp -DUSE_QT=on -DBUILD_LIBRETRO_CORE=yes -DCMAKE_PREFIX_PATH="C:\Qt\5.12\%QT_FLAVOR%"
9+
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%"
1010
if !errorlevel! neq 0 exit /b !errorlevel!
1111

1212
cmake --build . --config %CONFIG_TYPE%

0 commit comments

Comments
 (0)