mirror of
https://github.com/status-im/snorenotify.git
synced 2025-01-09 16:15:45 +00:00
install png2ico on ci and try to call snore-send on succes
This commit is contained in:
parent
1bc23391d7
commit
7547efa9b4
@ -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
|
||||
|
@ -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"
|
Loading…
x
Reference in New Issue
Block a user