diff --git a/appveyor.yml b/appveyor.yml index 295c150..77ad6c7 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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 diff --git a/ci/appveyor.ps1 b/ci/appveyor.ps1 index 79f19a3..cdd544d 100644 --- a/ci/appveyor.ps1 +++ b/ci/appveyor.ps1 @@ -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" \ No newline at end of file +CmakeImageInstall "$env:APPVEYOR_BUILD_FOLDER\work\image" \ No newline at end of file