use full path

This commit is contained in:
Patrick von Reth 2015-07-21 16:00:53 +02:00
parent b69f5dcd74
commit d844fae519
2 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@ branches:
only:
- master
build_script:
- ps: if ( !(Test-Path "ci\appveyorHelp.psm1")) {Start-FileDownload https://raw.githubusercontent.com/TheOneRing/appVeyorHelp/master/appveyorHelp.psm1 -FileName ci\appveyorHelp.psm1 }
- ps: if ( !(Test-Path "$env:APPVEYOR_BUILD_FOLDER\ci\appveyorHelp.psm1")) {Start-FileDownload https://raw.githubusercontent.com/TheOneRing/appVeyorHelp/master/appveyorHelp.psm1 -FileName $env:APPVEYOR_BUILD_FOLDER\ci\appveyorHelp.psm1 }
- ps: .\ci\appveyor.ps1
test: off

View File

@ -1,8 +1,8 @@
Import-Module .\appveyorHelp.psm1 -Force
Import-Module $env:APPVEYOR_BUILD_FOLDER\ci\appveyorHelp.psm1 -Force -Verbose
INIT @("ninja", "extra-cmake-modules")
Init @("ninja", "extra-cmake-modules")
mkdir $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"
CMAKE-IMAGE-INSTALL "$env:APPVEYOR_BUILD_FOLDER\work\image"
CmakeImageInstall "$env:APPVEYOR_BUILD_FOLDER\work\image"