-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathappveyor.yml
32 lines (25 loc) · 945 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
version: 1.0.{build}
environment:
GCCGenerator: "MinGW Makefiles"
matrix:
# - generator: "Visual Studio 11 2012"
# - generator: "Visual Studio 12 2013"
- generator: "Visual Studio 14 2015"
configuration:
- Debug
- Release
install:
- cmd: git submodule update --init --recursive
- cmd: choco install cmake
- cmd: if "%generator%" == "%GCCGenerator%" choco install mingw > nul # The mingw installer is in verbose mode, see https://chocolatey.org/packages/mingw
- cmd: cmake --version
- cmd: if "%generator%" == "%GCCGenerator%" g++ --version
build_script:
- cmd: IF NOT EXIST build mkdir build
- cmd: cd build
- cmd: cmake .. -G "%generator%" -DCMAKE_BUILD_TYPE="%configuration%"
- cmd: cmake --build . --config "%configuration%"
test_script:
- cmd: ctest -C "%configuration%" . -VV
- cmd: cmake --build . --target run-examples-all
- cmd: cmake --build . --target package # TODO: Deploy to gihtub