-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
37 lines (32 loc) · 1023 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
version: 1.0.{build}
image: Visual Studio 2017
configuration:
- Debug
- Release
platform: x64
clone_folder: "c:\\Tulpar"
init:
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
install:
- git submodule update --init --recursive
- mkdir build
- cd build
- if "%platform%"=="Win32" set CMAKE_GENERATOR_NAME=Visual Studio 15 2017
- if "%platform%"=="x64" set CMAKE_GENERATOR_NAME=Visual Studio 15 2017 Win64
- if "%configuration%"=="Debug" set CMAKE_BUILD_TYPE=Debug
- if "%configuration%"=="Release" set CMAKE_BUILD_TYPE=Release
- cmake -G "%CMAKE_GENERATOR_NAME%" -DCMAKE_BUILD_TYPE="%CMAKE_BUILD_TYPE%" ..
build:
project: "build\\Tulpar.sln"
parallel: true
verbosity: minimal
test_script:
- cd %APPVEYOR_BUILD_FOLDER%/build
- ctest -VV -C %CONFIGURATION%
notifications:
- provider: Email
to:
on_build_success: false
on_build_failure: true
on_build_status_changed: true