appveyor: use ninja to build and try to prevent deploying on PRs

This commit is contained in:
itsmattkc
2020-05-01 14:38:49 +10:00
parent 9335815d20
commit 2125293a3c
+6 -3
View File
@@ -34,10 +34,13 @@ REM Add Qt and FFmpeg directory to path
set PATH=%PATH%;C:\Qt\5.13.2\msvc2017_64\bin;%APPVEYOR_BUILD_FOLDER%\%FFMPEG_VER%-dev
REM Run cmake
cmake -G "NMake Makefiles" . -DCMAKE_TOOLCHAIN_FILE=c:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo
cmake -G "Ninja" . -DCMAKE_TOOLCHAIN_FILE=c:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo
REM Build with JOM
C:\Qt\Tools\QtCreator\bin\jom.exe || exit /B 1
REM Build with Ninja
ninja.exe || exit /B 1
REM If this is a pull request, no further packaging/deploying needs to be done
if "%APPVEYOR_PULL_REQUEST_NUMBER%" == "" goto end
REM Start building package
mkdir olive-editor