@@ -3,28 +3,21 @@ skip_tags: true
3
3
image : Visual Studio 2017
4
4
configuration : Release
5
5
platform : x64
6
+ clone_depth : 5
6
7
environment :
7
8
APPVEYOR_SAVE_CACHE_ON_ERROR : true
8
9
CLCACHE_SERVER : 1
9
10
PACKAGES : boost-filesystem boost-signals2 boost-test libevent openssl zeromq berkeleydb secp256k1 leveldb
10
- PYTHONIOENCODING : utf-8
11
+ PATH : ' C:\Python37-x64;C:\Python37-x64\Scripts;%PATH%'
12
+ PYTHONUTF8 : 1
11
13
cache :
12
14
- C:\tools\vcpkg\installed
13
15
- C:\Users\appveyor\clcache
14
- init :
15
- - cmd : set PATH=C:\Python36-x64;C:\Python36-x64\Scripts;%PATH%
16
16
install :
17
- - cmd : pip install git+https://github.com/frerich/clcache.git
17
+ - cmd : pip install --quiet git+https://github.com/frerich/clcache.git@v4.2.0
18
18
# Disable zmq test for now since python zmq library on Windows would cause Access violation sometimes.
19
19
# - cmd: pip install zmq
20
- - ps : $packages = $env:PACKAGES -Split ' '
21
- - ps : for ($i=0; $i -lt $packages.length; $i++) {
22
- $env:ALL_PACKAGES += $packages[$i] + ":" + $env:PLATFORM + "-windows-static "
23
- }
24
- - cmd : git -C C:\Tools\vcpkg pull # This is a temporary fix, can be removed after appveyor update its image to include Microsoft/vcpkg#4046
25
- - cmd : C:\Tools\vcpkg\bootstrap-vcpkg.bat
26
- - cmd : vcpkg remove --recurse --outdated
27
- - cmd : vcpkg install %ALL_PACKAGES%
20
+ - cmd : vcpkg install --triplet %PLATFORM%-windows-static %PACKAGES% > NUL
28
21
- cmd : del /s /q C:\Tools\vcpkg\installed\%PLATFORM%-windows-static\debug # Remove unused debug library
29
22
before_build :
30
23
- ps : clcache -M 536870912
@@ -42,7 +35,7 @@ before_build:
42
35
build_script :
43
36
- cmd : msbuild /p:TrackFileAccess=false /p:CLToolExe=clcache.exe build_msvc\bitcoin.sln /m /v:q /nowarn:C4244;C4267;C4715 /nologo
44
37
after_build :
45
- - ps : fsutil behavior set disablelastaccess 0 # Disable Access time feature on Windows (better performance)
38
+ - ps : fsutil behavior set disablelastaccess 1 # Disable Access time feature on Windows (better performance)
46
39
- ps : clcache -z
47
40
before_test :
48
41
- ps : ${conf_ini} = (Get-Content([IO.Path]::Combine(${env:APPVEYOR_BUILD_FOLDER}, "test", "config.ini.in")))
@@ -57,9 +50,9 @@ before_test:
57
50
- ps : ' [IO.File]::WriteAllLines([IO.Path]::Combine(${env:APPVEYOR_BUILD_FOLDER}, "test", "config.ini"), ${conf_ini}, ${utf8})'
58
51
- ps : move "build_msvc\${env:PLATFORM}\${env:CONFIGURATION}\*.exe" src
59
52
test_script :
60
- - cmd : src\test_bitcoin.exe
61
- - ps : src\bench_bitcoin.exe -evals=1 -scaling=0
53
+ - cmd : src\test_bitcoin.exe -k stdout -e stdout 2> NUL
54
+ - cmd : src\bench_bitcoin.exe -evals=1 -scaling=0 > NUL
62
55
- ps : python test\util\bitcoin-util-test.py
63
56
- cmd : python test\util\rpcauth-test.py
64
- - cmd : python test\functional\test_runner.py --ci --force --quiet --combinedlogslen=4000
57
+ - cmd : python test\functional\test_runner.py --ci --force --quiet --combinedlogslen=4000 --failfast
65
58
deploy : off
0 commit comments