Skip to content

Commit

Permalink
enable profile build on automatic builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Zer0xFF committed May 8, 2020
1 parent b5f4944 commit f297e9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion appveyor_build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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%
Expand Down

0 comments on commit f297e9f

Please sign in to comment.