stop on error

This commit is contained in:
Patrick von Reth 2015-07-22 18:55:40 +02:00
parent d844fae519
commit bcc6e33194
1 changed files with 3 additions and 1 deletions

View File

@ -1,8 +1,10 @@
$ErrorActionPreference="Stop"
Import-Module $env:APPVEYOR_BUILD_FOLDER\ci\appveyorHelp.psm1 -Force -Verbose
Init @("ninja", "extra-cmake-modules")
mkdir $env:APPVEYOR_BUILD_FOLDER\work\build\snorenotify
mkdir -Force $env:APPVEYOR_BUILD_FOLDER\work\build\snorenotify
cd $env:APPVEYOR_BUILD_FOLDER\work\build\snorenotify
cmake -G"Ninja" $env:APPVEYOR_BUILD_FOLDER -DCMAKE_BUILD_TYPE=Release -DWITH_SNORE_DAEMON=ON -DWITH_FRONTENDS=ON -DCMAKE_INSTALL_PREFIX="$CMAKE_INSTALL_ROOT"
CmakeImageInstall "$env:APPVEYOR_BUILD_FOLDER\work\image"