mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-09 10:43:19 -05:00
ci: Add appveyor.yml to build on MSVC
This commit is contained in:
parent
4d0c7924d2
commit
90cc69c0c7
1 changed files with 34 additions and 0 deletions
34
appveyor.yml
Normal file
34
appveyor.yml
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
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 "
|
||||||
|
}
|
||||||
|
|
||||||
|
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
|
Loading…
Add table
Reference in a new issue