-
Notifications
You must be signed in to change notification settings - Fork 3
/
.appveyor.yml
40 lines (31 loc) · 929 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
environment:
matrix:
- CMAKE_BUILD_TYPE: DEBUG
- CMAKE_BUILD_TYPE: RELEASE
os: Visual Studio 2015
platform:
- x86
- x64
init:
- cmd: set PATH=C:\Program Files (x86)\CMake\bin\;%PATH%
before_build:
- cmd: IF "%PLATFORM%" == "x64" (cmake -DCMAKE_BUILD_TYPE=%CMAKE_BUILD_TYPE% -G "Visual Studio 14 2015 Win64" -DTABLE_BUILD_TESTS:BOOL=ON) ELSE (cmake -DCMAKE_BUILD_TYPE=%CMAKE_BUILD_TYPE% -DTABLE_BUILD_TESTS:BOOL=ON)
build_script:
- cmake --build . --config %CMAKE_BUILD_TYPE%
after_build:
- cmd: IF "%APPVEYOR_REPO_TAG%" == "true" (cpack -G WIX -C %CMAKE_BUILD_TYPE%)
test_script:
- ctest -C %CMAKE_BUILD_TYPE%
artifacts:
- path: '*.msi'
deploy:
provider: GitHub
auth_token:
secure: AtMhevKUU0Cf+huWpOz+axnd0TdO5fO+m6yjLR34qYKRqdsBIPI508k/sMxDxzLj
draft: false
prerelease: false
force_update: true
on:
branch: master
appveyor_repo_tag: true
CMAKE_BUILD_TYPE: RELEASE