From c931263de365539b5a1f9adbbd34c2e4d66e7735 Mon Sep 17 00:00:00 2001
From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>
Date: Thu, 23 Nov 2023 13:50:34 +0000
Subject: [PATCH] Add "Install dependencies from vcpkg manifest" step
---
.github/workflows/ci.yml | 5 +++++
build_msvc/common.init.vcxproj.in | 10 ----------
2 files changed, 5 insertions(+), 10 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9234a167d0f5b1..8364a4e67f1dca 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -40,6 +40,7 @@ jobs:
CI_QT_URL: 'https://download.qt.io/official_releases/qt/5.15/5.15.11/single/qt-everywhere-opensource-src-5.15.11.zip'
PYTHONUTF8: 1
TEST_RUNNER_TIMEOUT_FACTOR: 40
+ VCPKG_DEFAULT_TRIPLET: 'x64-windows-static'
steps:
- name: Checkout
@@ -153,6 +154,10 @@ jobs:
path: ~/AppData/Local/vcpkg/archives
key: ${{ github.job }}-vcpkg-binary-${{ hashFiles('vcpkg_commit', 'msbuild_version', 'build_msvc/vcpkg.json') }}
+ - name: Install dependencies from vcpkg manifest
+ run: |
+ vcpkg install pkgconf berkeleydb boost-date-time boost-multi-index boost-signals2 boost-test libevent miniupnpc sqlite3 zeromq
+
- name: Generate project files
run: py -3 build_msvc\msvc-autogen.py
diff --git a/build_msvc/common.init.vcxproj.in b/build_msvc/common.init.vcxproj.in
index d54e559c9fc331..bd0335fd3b61ad 100644
--- a/build_msvc/common.init.vcxproj.in
+++ b/build_msvc/common.init.vcxproj.in
@@ -7,16 +7,6 @@
true
-
- true
- true
- true
- true
- true
- $(Configuration)
- x64-windows-static
-
-
$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v10.0@ProductVersion)
$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows\v10.0@ProductVersion)