forked from qwertycoin-org/qwertycoin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
54 lines (47 loc) · 1.51 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
os: Visual Studio 2017
clone_depth: 100
cache:
- C:\.hunter -> .appveyor.yml
environment:
global:
BOOST_ROOT: "C:/Libraries/boost_1_70_0"
BOOST_LIBRARYDIR: "C:/Libraries/boost_1_70_0/lib64-msvc-14.1"
matrix:
- Purpose: "WindowsDebugBuild"
QWC_GENERATOR_NAME: "Visual Studio 15 2017 Win64"
QWC_BUILD_TYPE: "Debug"
QWC_TOOLCHAIN_FILE_NAME: "cmake/polly/vs-15-2017-win64.cmake"
QWC_TESTS_REGEXP: "NONE"
- Purpose: "WindowsReleaseBuild"
QWC_GENERATOR_NAME: "Visual Studio 15 2017 Win64"
QWC_BUILD_TYPE: "Release"
QWC_TOOLCHAIN_FILE_NAME: "cmake/polly/vs-15-2017-win64.cmake"
QWC_TESTS_REGEXP: "NONE"
install:
- git submodule update --init --recursive
build_script:
- md build
- cd build
- >
cmake -G "%QWC_GENERATOR_NAME%"
-DCMAKE_BUILD_TYPE=%QWC_BUILD_TYPE%
-DCMAKE_TOOLCHAIN_FILE=%QWC_TOOLCHAIN_FILE_NAME%
-DBUILD_ALL:BOOL=TRUE
..
- cmake --build . --config %QWC_BUILD_TYPE%
- ctest -C %QWC_BUILD_TYPE% -R "%QWC_TESTS_REGEXP%" -V -j 2
- cpack -C %QWC_BUILD_TYPE%
artifacts:
- path: build\*\qwertycoin-*.exe
name: Releases
deploy:
description: "Qwertycoin CLI release"
provider: GitHub
auth_token:
secure: "2+Ji3AkIi/6n3bNzeQNvr7ZKetnvNC/K5czk1iDU5OQHiozVan1ksMw3Nk1GTssO"
artifact: /qwertycoin-.*\.exe/
draft: true
prerelease: true
on:
APPVEYOR_REPO_TAG: true
QWC_BUILD_TYPE: "Release"