Skip to content

Commit 90cc69c

Browse files
committed
ci: Add appveyor.yml to build on MSVC
1 parent 4d0c792 commit 90cc69c

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

appveyor.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
skip_tags: true
2+
image: Visual Studio 2017
3+
configuration: Release
4+
platform: x64
5+
environment:
6+
APPVEYOR_SAVE_CACHE_ON_ERROR: true
7+
cache: C:\tools\vcpkg\installed\
8+
before_build:
9+
- ps: >-
10+
$packages = @(
11+
"boost-filesystem",
12+
"boost-signals2",
13+
"boost-interprocess",
14+
"boost-test",
15+
"libevent",
16+
"openssl",
17+
"zeromq",
18+
"berkeleydb",
19+
"secp256k1",
20+
"leveldb"
21+
)
22+
23+
for ($i=0; $i -lt $packages.length; $i++) {
24+
$all_packages += $packages[$i] + ":" + $env:PLATFORM + "-windows-static "
25+
}
26+
27+
Invoke-Expression -Command "vcpkg install $all_packages"
28+
build:
29+
project: build_msvc\bitcoin.sln
30+
parallel: true
31+
verbosity: minimal
32+
test_script:
33+
- cmd: build_msvc\%PLATFORM%\Release\test_bitcoin.exe
34+
deploy: off

0 commit comments

Comments
 (0)