2015-07-20 09:27:58 +00:00
|
|
|
version: '{build}'
|
2015-07-24 09:20:08 +00:00
|
|
|
|
2015-07-17 14:03:29 +00:00
|
|
|
build_script:
|
2015-07-25 13:02:34 +00:00
|
|
|
- ps: |
|
2015-07-25 13:06:38 +00:00
|
|
|
if ( !(Test-Path "$env:APPVEYOR_BUILD_FOLDER\work\appveyorHelp.psm1"))
|
2015-07-25 13:02:34 +00:00
|
|
|
{
|
2015-07-25 13:17:26 +00:00
|
|
|
mkdir $env:APPVEYOR_BUILD_FOLDER\work\
|
2015-07-25 13:06:38 +00:00
|
|
|
Start-FileDownload https://raw.githubusercontent.com/TheOneRing/appVeyorHelp/master/appveyorHelp.psm1 -FileName $env:APPVEYOR_BUILD_FOLDER\work\appveyorHelp.psm1
|
2015-07-25 13:02:34 +00:00
|
|
|
}
|
|
|
|
$ErrorActionPreference="Stop"
|
|
|
|
|
2015-07-25 13:06:38 +00:00
|
|
|
Import-Module $env:APPVEYOR_BUILD_FOLDER\work\appveyorHelp.psm1
|
2015-07-25 13:02:34 +00:00
|
|
|
|
|
|
|
Init @("ninja", "extra-cmake-modules", "png2ico") @("SnoreGrowl")
|
|
|
|
|
|
|
|
mkdir -Force $env:APPVEYOR_BUILD_FOLDER\work\build\snorenotify
|
|
|
|
cd $env:APPVEYOR_BUILD_FOLDER\work\build\snorenotify
|
|
|
|
LogExec cmake -G"Ninja" $env:APPVEYOR_BUILD_FOLDER -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$CMAKE_INSTALL_ROOT"
|
|
|
|
CmakeImageInstall "$env:APPVEYOR_BUILD_FOLDER\work\image"
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-07-20 15:31:17 +00:00
|
|
|
|
|
|
|
test: off
|
2015-07-20 09:25:37 +00:00
|
|
|
|
|
|
|
cache:
|
2015-07-25 13:06:38 +00:00
|
|
|
- work\git -> appveyor.yml
|
|
|
|
- work\install -> appveyor.yml
|
|
|
|
- C:\ProgramData\chocolatey\bin -> appveyor.yml
|
|
|
|
- C:\ProgramData\chocolatey\lib -> appveyor.yml
|
|
|
|
- work\appveyorHelp.psm1 -> appveyor.yml
|
2015-07-20 10:29:36 +00:00
|
|
|
|
|
|
|
environment:
|
2015-07-23 10:46:36 +00:00
|
|
|
SNORE_TOASTY_ID:
|
|
|
|
secure: lh3yt2ig14pCQMkJ9FRUj4dRLp+pw8qpLgoxr1t8Tpyo27JqXOhYMtGnZPI3wf/S
|
|
|
|
|
|
|
|
SNORE_PUSHOVER_KEY:
|
|
|
|
secure: KTJ5xlUJfDSxpzaGLsnTDhVa2jxWkzaEcwlI2MGCn4g=
|
2015-07-24 09:20:08 +00:00
|
|
|
|
2015-07-25 13:02:34 +00:00
|
|
|
FETCH_ARTIFATCS_HOST:
|
|
|
|
secure: rMU3uKmS1tdIFReTTcRgchX2PJaOKSXc72lIG6OOR3RPR3Nhc8hjNnti2+WM52Ei9hsq/QMEsQaWEOFMLrvPPw==
|
|
|
|
|
|
|
|
QT_VER: 5.5
|
2015-07-23 10:46:36 +00:00
|
|
|
|
2015-07-20 10:29:36 +00:00
|
|
|
matrix:
|
|
|
|
#mingw
|
2015-07-25 13:02:34 +00:00
|
|
|
- COMPILER: mingw492_32
|
2015-07-20 10:29:36 +00:00
|
|
|
#msvc
|
2015-07-25 13:02:34 +00:00
|
|
|
- COMPILER: msvc2013_64
|
2015-07-20 15:22:37 +00:00
|
|
|
|
|
|
|
artifacts:
|
|
|
|
- path: work\image
|
2015-07-25 13:02:34 +00:00
|
|
|
name: $(APPVEYOR_PROJECT_NAME)-Qt$(QT_VER)-$(COMPILER)
|
2015-07-24 08:18:00 +00:00
|
|
|
|
|
|
|
deploy:
|
|
|
|
- provider: Environment
|
2015-07-24 08:30:35 +00:00
|
|
|
name: my
|
2015-07-21 11:41:52 +00:00
|
|
|
|