forked from uael/sv
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
45 lines (35 loc) · 827 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
38
39
40
41
42
43
44
45
version: "0.1.0+{build}"
platform:
- Win32
- x64
environment:
MSVC_DEFAULT_OPTIONS: ON
matrix:
- msvc: 'Visual Studio 12 2013'
- msvc: 'Visual Studio 14 2015'
configuration:
- Debug
- Release
init:
- cmd: cmake --version
- cmd: msbuild /version
clone_folder: C:\projects\sv
branches:
only:
- master
- dev
install:
- git submodule update --init --recursive
before_build:
- cmd: cd C:\projects\sv
- cmd: md build
- cmd: cd build
- cmd: if "%platform%"=="Win32" set CMAKE_GENERATOR_NAME=%msvc%
- cmd: if "%platform%"=="x64" set CMAKE_GENERATOR_NAME=%msvc% Win64
- cmd: cmake -G "%CMAKE_GENERATOR_NAME%" -DCMAKE_BUILD_TYPE=%configuration% ..
build:
project: C:\projects\sv\build\sv.sln
verbosity: quiet
test_script:
- ps: cd C:\projects\sv\build
- cmd: ctest -VV