forked from ElementsProject/elements
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge a6f6333 into merged_master (Bitcoin PR #17416)
- Loading branch information
Showing
3 changed files
with
17 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,41 +7,42 @@ clone_depth: 5 | |
environment: | ||
APPVEYOR_SAVE_CACHE_ON_ERROR: true | ||
CLCACHE_SERVER: 1 | ||
PACKAGES: berkeleydb boost-filesystem boost-multi-index boost-signals2 boost-test boost-thread libevent openssl rapidcheck zeromq double-conversion | ||
PATH: 'C:\Python37-x64;C:\Python37-x64\Scripts;%PATH%' | ||
PYTHONUTF8: 1 | ||
QT_DOWNLOAD_URL: 'https://github.com/sipsorcery/qt_win_binary/releases/download/v1.4/Qt5.9.8_x64_static_vs2019.zip' | ||
QT_DOWNLOAD_HASH: 'f285cbb02bec3b3f3cc2621e3fa7d5edf0d6a66fa30c57859e583acda954ea80' | ||
QT_LOCAL_PATH: 'C:\Qt5.9.8_x64_static_vs2019' | ||
VCPKG_INSTALL_PATH: 'C:\tools\vcpkg\installed' | ||
cache: | ||
- C:\tools\vcpkg\installed | ||
- C:\tools\vcpkg\installed -> build_msvc\vcpkg-packages.txt | ||
- C:\Users\appveyor\clcache -> .appveyor.yml, build_msvc\**, **\Makefile.am, **\*.vcxproj.in | ||
- C:\Qt5.9.8_x64_static_vs2019 | ||
install: | ||
- cmd: pip install --quiet git+https://github.com/frerich/[email protected] | ||
# Disable zmq test for now since python zmq library on Windows would cause Access violation sometimes. | ||
# - cmd: pip install zmq | ||
# Powershell block below is to install the c++ dependencies via vcpkg. The pseudo code is: | ||
# 1. If the vcpkg install directory exists assume dependencies are installed and do nothing. To | ||
# force a fresh install of the packages delete the job's appveyor cache. | ||
# 2. Otherwise: | ||
# 1. Check whether the vcpkg install directory exists (note that updating the vcpkg-packages.txt file | ||
# will cause the appveyor cache rules to invalidate the directory) | ||
# 2. If the directory is missing: | ||
# a. Update the vcpkg source (including port files) and build the vcpkg binary, | ||
# b. Install the required packages. | ||
# b. Install the missing packages. | ||
- ps: | | ||
cd c:\tools\vcpkg | ||
$env:PACKAGES = Get-Content -Path build_msvc\vcpkg-packages.txt | ||
Write-Host "vcpkg list: $env:PACKAGES" | ||
if(!(Test-Path -Path ($env:VCPKG_INSTALL_PATH))) { | ||
cd c:\tools\vcpkg | ||
$env:GIT_REDIRECT_STDERR = '2>&1' # git is writing non-errors to STDERR when doing git pull. Send to STDOUT instead. | ||
Add-Content "C:\tools\vcpkg\triplets\$env:PLATFORM-windows-static.cmake" "set(VCPKG_BUILD_TYPE release)" | ||
git pull origin master | ||
.\bootstrap-vcpkg.bat | ||
Add-Content "C:\tools\vcpkg\triplets\$env:PLATFORM-windows-static.cmake" "set(VCPKG_BUILD_TYPE release)" | ||
.\vcpkg install --triplet $env:PLATFORM-windows-static $env:PACKAGES.split() > $null | ||
cd "$env:APPVEYOR_BUILD_FOLDER" | ||
} | ||
else { | ||
Write-Host "vcpkg packages already installed (to reinstall purge appveyor job's cache)." | ||
Write-Host "required vcpkg packages already installed." | ||
} | ||
.\vcpkg integrate install | ||
cd "$env:APPVEYOR_BUILD_FOLDER" | ||
c:\tools\vcpkg\vcpkg integrate install | ||
before_build: | ||
- ps: clcache -M 536870912 | ||
# Powershell block below is to download and extract the Qt static libraries. The pseudo code is: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
berkeleydb boost-filesystem boost-multi-index boost-signals2 boost-test boost-thread libevent openssl rapidcheck zeromq double-conversion |