@@ -7,6 +7,7 @@ environment:
77 APPVEYOR_SAVE_CACHE_ON_ERROR : true
88 CLCACHE_SERVER : 1
99 PACKAGES : boost-filesystem boost-signals2 boost-interprocess boost-test libevent openssl zeromq berkeleydb secp256k1 leveldb
10+ PYTHONIOENCODING : utf-8
1011cache :
1112- C:\tools\vcpkg\installed
1213- C:\Users\appveyor\clcache
1516- cmd : set PATH=C:\Python36-x64;C:\Python36-x64\Scripts;%PATH%
1617install :
1718- cmd : pip install git+https://github.com/frerich/clcache.git
19+ # Disable zmq test for now since python zmq library on Windows would cause Access violation sometimes.
20+ # - cmd: pip install zmq
1821- ps : $packages = $env:PACKAGES -Split ' '
1922- ps : for ($i=0; $i -lt $packages.length; $i++) {
2023 $env:ALL_PACKAGES += $packages[$i] + ":" + $env:PLATFORM + "-windows-static "
@@ -40,6 +43,17 @@ after_build:
4043- cmd : move build_msvc\%PLATFORM%\%CONFIGURATION%\*.iobj build_msvc\cache\
4144- cmd : move build_msvc\%PLATFORM%\%CONFIGURATION%\*.ipdb build_msvc\cache\
4245- cmd : del C:\Users\appveyor\clcache\stats.txt
46+ before_test :
47+ - ps : ${conf_ini} = (Get-Content([IO.Path]::Combine(${env:APPVEYOR_BUILD_FOLDER}, "test", "config.ini.in")))
48+ - ps : ${conf_ini} = $conf_ini.Replace("@abs_top_srcdir@", ${env:APPVEYOR_BUILD_FOLDER}).Replace("@abs_top_builddir@", ${env:APPVEYOR_BUILD_FOLDER}).Replace("@EXEEXT@", ".exe")
49+ - ps : ${conf_ini} = $conf_ini.Replace("@ENABLE_WALLET_TRUE@", "").Replace("@BUILD_BITCOIN_UTILS_TRUE@", "").Replace("@BUILD_BITCOIND_TRUE@", "").Replace("@ENABLE_ZMQ_TRUE@", "")
50+ - ps : ${utf8} = New-Object System.Text.UTF8Encoding ${false}
51+ - ps : ' [IO.File]::WriteAllLines([IO.Path]::Combine(${env:APPVEYOR_BUILD_FOLDER}, "test", "config.ini"), $conf_ini, ${utf8})'
52+ - ps : move "build_msvc\${env:PLATFORM}\${env:CONFIGURATION}\*.exe" src
4353test_script :
44- - cmd : build_msvc\%PLATFORM%\%CONFIGURATION%\test_bitcoin.exe
54+ - cmd : src\test_bitcoin.exe
55+ - ps : src\bench_bitcoin.exe -evals=1 -scaling=0
56+ - ps : python test\util\bitcoin-util-test.py
57+ - cmd : python test\util\rpcauth-test.py
58+ - cmd : python test\functional\test_runner.py --force --quiet --combinedlogslen=4000 --exclude "feature_notifications,wallet_multiwallet,wallet_multiwallet.py --usecli"
4559deploy : off
0 commit comments