-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
55 lines (49 loc) · 1.4 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
version: '{build}'
clone_folder: c:\projects\hexagon
image:
- Visual Studio 2017
configuration:
- Release
# - Debug # TODO currently not supported
platform:
- x64
environment:
matrix:
- arch: Win64
global:
BOOST_ROOT: "C:\\Libraries\\boost_1_67_0"
matrix:
fast_finish: false
# skip unsupported combinations
init:
- set arch=
- if "%arch%"=="Win64" ( set arch= Win64)
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" ( set generator="Visual Studio 15 2017%arch%" )
- echo %generator%
before_build:
- git submodule update --init --recursive
- ps: $env:BOOST_LIBRARYDIR = "$env:BOOST_ROOT/lib64-msvc-14.1"
- echo $BOOST_LIBRARYDIR
build_script:
- ctest -VV -j5 -S cmake/appveyor_model_test.cmake -DCTEST_CMAKE_GENERATOR=%generator% -C %CONFIGURATION% -DCTEST_BUILD_TYPE=%CONFIGURATION% -DCTEST_SITE=AppVeyor
- ctest -VV -j5 -S cmake/appveyor_server.cmake -DCTEST_CMAKE_GENERATOR=%generator% -C %CONFIGURATION% -DCTEST_BUILD_TYPE=%CONFIGURATION% -DCTEST_SITE=AppVeyor
- cd build
- cpack -G 7Z
after_build:
- ps: mv *.7z $env:APPVEYOR_BUILD_FOLDER
artifacts:
- path: '*.7z'
name: binary_zip
type: 7z
deploy:
tag: $(appveyor_repo_tag_name)
description: 'latest build'
provider: GitHub
auth_token:
secure: TaUpI7ypXZZ50TM3OZmcGMqOmZlDM4XPMxwDbyHSEqjytPyySoTmOpTb+miGuoOX
artifact: binary_zip
draft: true
prerelease: false
force_update: true
on:
APPVEYOR_REPO_TAG: true