blob: 64e7ae64aff9fa3f37e68a1711c91759c52f1e82 [file] [log] [blame]
Lei Zhangf36d6e32016-05-10 09:55:05 -04001# Windows Build Configuration for AppVeyor
2# http://www.appveyor.com/docs/appveyor-yml
3
4# build version format
5version: "{build}"
6
7os: Visual Studio 2013
8
9platform:
10 - Any CPU
11
12configuration:
13 - Debug
14 - Release
15
16branches:
17 only:
18 - master
19
20clone_depth: 5
21
22matrix:
23 fast_finish: true # Show final status immediately if a test fails.
24
25# scripts that run after cloning repository
26install:
27 - git clone https://github.com/google/googletest.git External/googletest
28
29build:
30 parallel: true # enable MSBuild parallel builds
31 verbosity: minimal
32
33build_script:
34 - mkdir build && cd build
35 - cmake .. -DCMAKE_INSTALL_PREFIX=install
36 - cmake --build . --config %CONFIGURATION% --target install
37
38test_script:
39 - ctest -C %CONFIGURATION% --output-on-failure
40 - cd ../Test && bash runtests