aboutsummaryrefslogtreecommitdiff
path: root/appveyor.yml
blob: c6a5a91ba5c492c9291d3e40bb497d3fda7ee046 (plain)
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
version: '{branch}.{build}'
skip_tags: true
image: Visual Studio 2017
configuration: Release
platform: x64
environment:
  APPVEYOR_SAVE_CACHE_ON_ERROR: true
cache: C:\tools\vcpkg\installed\
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 "
    }

    git -C C:\Tools\vcpkg pull # This is a temporary fix, can be removed after appveyor update its image to include Microsoft/vcpkg#4046

    Invoke-Expression -Command "vcpkg install $all_packages"
build:
  project: build_msvc\bitcoin.sln
  parallel: true
  verbosity: minimal
test_script:
- cmd: build_msvc\%PLATFORM%\Release\test_bitcoin.exe
deploy: off