.appveyor.yml
1.15 KB
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
46
47
# Repo as zip
shallow_clone: true
os:
- Visual Studio 2015
environment:
CTEST_OUPTUT_ON_FAILURE: ON
configuration:
- Debug
branches:
except:
- gh-pages
install:
############################################################################
# All external dependencies are installed in C:\projects\deps
############################################################################
- mkdir C:\projects\deps
- cd C:\projects\deps
############################################################################
# Install a recent CMake
############################################################################
- set CMAKE_URL="https://cmake.org/files/v3.7/cmake-3.7.0-win32-x86.zip"
- appveyor DownloadFile %CMAKE_URL% -FileName cmake.zip
- 7z x cmake.zip -oC:\projects\deps\cmake > nul
- set PATH=C:\projects\deps\cmake\bin;%PATH%
- cmake --version
before_build:
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
- cd %APPVEYOR_BUILD_FOLDER%
build:
verbosity: detailed
build_script:
- mkdir build
- cd build
- cmake ..
- cmake --build .
test_script:
- cmake --build --target test .