-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathappveyor.yml
More file actions
60 lines (48 loc) · 1.28 KB
/
Copy pathappveyor.yml
File metadata and controls
60 lines (48 loc) · 1.28 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
48
49
50
51
52
53
54
55
56
57
58
59
# build daemon on AppVeyor - https://ci.appveyor.com
#shallow_clone: true
clone_depth: 2
version: '{build}'
image:
- Visual Studio 2017
environment:
BOOST_ROOT: C:\Libraries\boost_1_66_0
matrix:
- ARCH: 32
GENERATOR: Visual Studio 15 2017
BUILD_SUFFIX: vc2017_x86
- ARCH: 64
GENERATOR: Visual Studio 15 2017 Win64
BUILD_SUFFIX: vc2017_x64
install:
- ECHO "Filesystem root:"
- ps: "ls \"C:/\""
# recursive clone
- git submodule update --init --recursive --depth 3
# VC env
- '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars%ARCH%.bat"'
#
- cd %APPVEYOR_BUILD_FOLDER%
build_script:
- set PATH=C:\ProgramData\chocolatey\bin;C:\apache-ant-1.9.6\bin;%PATH%
- mkdir cmake-build
- cd cmake-build
- cmake -G "%GENERATOR%" ..
- cmake --build . --config Release --clean-first
# TODO:
# - cpack
# - ctest
artifacts:
- path: cmake-build\Release
name: daemon_$(BUILD_SUFFIX)
type: zip
deploy:
#release: mproxy_v$(appveyor_build_version)
#description: 'Release description'
provider: GitHub
auth_token:
secure: wFxle0z6fJTg0aVgEyl46GbOPGvVb/WvnNmmO5ifTaBQx5Q3qlhlfwwIpuABfuty
artifact: /daemon_.*/
draft: true
prerelease: false
on:
appveyor_repo_tag: true # deploy on tag push only