lbrycrd/appveyor.yml

41 lines
1 KiB
YAML
Raw Normal View History

2018-08-17 06:57:28 +02:00
version: '{branch}.{build}'
2018-08-14 05:41:16 +02:00
skip_tags: true
image: Visual Studio 2017
configuration: Release
platform: x64
environment:
APPVEYOR_SAVE_CACHE_ON_ERROR: true
cache: C:\tools\vcpkg\installed\
2018-08-25 18:15:51 +02:00
init:
- cmd: set PATH=C:\Python36-x64;%PATH%
2018-08-14 05:41:16 +02:00
before_build:
- ps: >-
$packages = @(
"boost-filesystem",
"boost-signals2",
"boost-interprocess",
"boost-test",
"libevent",
"openssl",
"zeromq",
"berkeleydb",
"secp256k1",
"leveldb"
)
for ($i=0; $i -lt $packages.length; $i++) {
$all_packages += $packages[$i] + ":" + $env:PLATFORM + "-windows-static "
}
2018-08-17 06:57:28 +02:00
git -C C:\Tools\vcpkg pull # This is a temporary fix, can be removed after appveyor update its image to include Microsoft/vcpkg#4046
2018-08-14 05:41:16 +02:00
Invoke-Expression -Command "vcpkg install $all_packages"
2018-08-25 18:15:51 +02:00
- cmd: python build_msvc\msvc-autogen.py
2018-08-14 05:41:16 +02:00
build:
project: build_msvc\bitcoin.sln
parallel: true
verbosity: minimal
test_script:
- cmd: build_msvc\%PLATFORM%\Release\test_bitcoin.exe
deploy: off