install png2ico on ci and try to call snore-send on succes

This commit is contained in:
Patrick von Reth 2015-07-23 12:46:36 +02:00
parent 1bc23391d7
commit 7547efa9b4
2 changed files with 15 additions and 2 deletions

View File

@ -17,6 +17,12 @@ cache:
- ci\appveyorHelp.psm1 -> ci\appveyor.ps1
environment:
SNORE_TOASTY_ID:
secure: lh3yt2ig14pCQMkJ9FRUj4dRLp+pw8qpLgoxr1t8Tpyo27JqXOhYMtGnZPI3wf/S
SNORE_PUSHOVER_KEY:
secure: KTJ5xlUJfDSxpzaGLsnTDhVa2jxWkzaEcwlI2MGCn4g=
matrix:
#mingw
- COMPILER: MINGW

View File

@ -2,9 +2,16 @@ $ErrorActionPreference="Stop"
Import-Module $env:APPVEYOR_BUILD_FOLDER\ci\appveyorHelp.psm1 -Force -Verbose
Init @("ninja", "extra-cmake-modules")
Init @("ninja", "extra-cmake-modules", "png2ico")
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"
CmakeImageInstall "$env:APPVEYOR_BUILD_FOLDER\work\image"
SetupSnoreSend "$env:APPVEYOR_BUILD_FOLDER\work\image\bin" @{
"global" = @{ "Pushover-SECONDARY_BACKEND/UserKey.v1" = $env:SNORE_PUSHOVER_KEY;
"Toasty-SECONDARY_BACKEND/DeviceID.v1" = $env:SNORE_TOASTY_ID }}
SendSnoreNotification "Build complete!" "Build of SnoreNotify succeded"