summaryrefslogtreecommitdiff
path: root/core/src/sv/appveyor.yml
blob: fb1c88bd9b56495287080f119ec21745f030aeb5 (plain)
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
version: "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

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