forked from libbitcoin/libbitcoin-blockchain
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.appveyor.yml
126 lines (109 loc) · 3.87 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
#
# Copyright (c) 2016-2018 Bitprim Inc.
#
# This file is part of Bitprim.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
branches:
only:
- master
# - /^v\d+\.\d+\.\d+$/
- dev
- /^release-\d+\.\d+\.\d+$/
- /^release_\d+\.\d+\.\d+$/
- /^hotfix-\d+\.\d+\.\d+$/
- /^hotfix_\d+\.\d+\.\d+$/
- /^feature-ci-.+$/
- /^feature_ci_.+$/
- /^feature-appveyor-.+$/
- /^feature_appveyor_.+$/
build: false
environment:
PYTHON: "C:\\Python37"
PYTHON_VERSION: "3.7.3"
PYTHON_ARCH: "32"
CONAN_STABLE_BRANCH_PATTERN: "master$" #"release/*"
install:
- set PATH=%PYTHON%;%PYTHON%/Scripts/;%PATH%;
- python.exe --version
- python.exe -m pip install --upgrade pip
- pip.exe install conan==1.14.3 > NUL
- pip.exe install conan_package_tools==0.25.1 > NUL
- pip.exe install cpuid --upgrade > NUL
# - pip.exe install conan --upgrade > NUL
# - pip.exe install conan==1.0.0b5 > NUL
# - pip.exe install conan_package_tools --upgrade > NUL
- conan user # It creates the conan data directory
test_script:
- git submodule init
# - git submodule update --remote
- git submodule update
# - git fetch --unshallow
- git fetch origin master:master
- ps: |
$a = python ci_utils/set_envvars_and_files.py
Write-Host $a
Invoke-Expression $a
conan remote add bitprim https://api.bintray.com/conan/bitprim/bitprim
python ci_utils/process_conan_reqs.py
conan remove "*" -f
conan remote remove bitprim
- python build.py
for:
-
branches:
only:
- /(dev|feature).*/ # Just development branches
environment:
MINGW_CONFIGURATIONS: "8@x86_64@seh@posix"
# APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
# CONAN_VISUAL_VERSIONS: 15
# CONAN_VISUAL_RUNTIMES: MT
# BITPRIM_RUN_TESTS: true
# VS150COMNTOOLS: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\Common7\\Tools\\"
-
branches:
only:
- /(release|hotfix).+/ #Just releases
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
CONAN_VISUAL_VERSIONS: 15
CONAN_VISUAL_RUNTIMES: MT
BITPRIM_RUN_TESTS: true
VS150COMNTOOLS: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\Common7\\Tools\\"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
CONAN_VISUAL_VERSIONS: 15
CONAN_VISUAL_RUNTIMES: MD
BITPRIM_RUN_TESTS: true
VS150COMNTOOLS: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\Common7\\Tools\\"
# - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
# CONAN_VISUAL_VERSIONS: 14
# - MINGW_CONFIGURATIONS: "8@x86_64@seh@posix"
- MINGW_CONFIGURATIONS: "8@x86_64@seh@posix"
- MINGW_CONFIGURATIONS: "7@x86_64@seh@posix"
# - MINGW_CONFIGURATIONS: "6@x86_64@seh@posix"
# - MINGW_CONFIGURATIONS: "5@x86_64@seh@posix"
-
branches:
only:
- master
test_script:
- echo "Stable packages are published in Release branches"
install:
- echo "Stable packages are published in Release branches"
# MINGW_CONFIGURATIONS: "4.9@x86_64@seh@posix"
# matrix:
# fast_finish: true # set this flag to immediately finish build once one of the jobs fails.