diff options
author | Chun Kuan Lee <ken2812221@gmail.com> | 2018-08-14 11:41:16 +0800 |
---|---|---|
committer | Chun Kuan Lee <ken2812221@gmail.com> | 2018-08-14 09:19:57 +0000 |
commit | 90cc69c0c7b0fcfa604584e2666060488346e9fc (patch) | |
tree | 18df44e9cc36f722d91f6c0ea12a22bf02b9906f | |
parent | 4d0c7924d22ffaa620884c8177e21f89261d057a (diff) |
ci: Add appveyor.yml to build on MSVC
-rw-r--r-- | appveyor.yml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000000..0c0c3d066b --- /dev/null +++ b/appveyor.yml @@ -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 |