forked from jeffdaily/parasail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
47 lines (38 loc) · 1.1 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
platform:
- x64
- x86
environment:
matrix:
# VS 2012
- BUILD_TYPE: cmake
VS_VERSION: Visual Studio 11 2012
# VS 2013
- BUILD_TYPE: cmake
VS_VERSION: Visual Studio 12 2013
# VS 2015
- BUILD_TYPE: cmake
VS_VERSION: Visual Studio 14 2015
shallow_clone: true
build_script:
- echo build_script
- if "%BUILD_TYPE%" == "cmake" if "%platform%" == "x64" SET VS_FULL=%VS_VERSION% Win64
- if "%BUILD_TYPE%" == "cmake" if "%platform%" == "x86" SET VS_FULL=%VS_VERSION%
- if "%BUILD_TYPE%" == "cmake" echo "%VS_FULL%"
- if "%BUILD_TYPE%" == "cmake" cmake -G "%VS_FULL%" . -DBUILD_SHARED_LIBS=ON
- if "%BUILD_TYPE%" == "cmake" cmake --build . --config Release
- if "%BUILD_TYPE%" == "cmake" cmake --build . --config Release --target package
- if "%BUILD_TYPE%" == "cmake" ctest -C Release
test_script:
- echo test_script
artifacts:
- path: dist\*
name: package
deploy:
description: 'Release description'
provider: GitHub
auth_token:
secure: JkB1QRyieouHAqQ2wx/njjDcqjw0tmH+873onITCNYH4fNDagos+o0YckCYFzC/L
artifact: package
draft: true
on:
appveyor_repo_tag: true