Skip to content

Commit

Permalink
update vcpkg baseline and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
justusranvier committed Sep 10, 2024
1 parent 326ec2b commit 9f93178
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 10 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/vcpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,47 @@ jobs:
VCPKG_DEFAULT_HOST_TRIPLET: '${{ matrix.triplet }}'
VCPKG_OVERLAY_TRIPLETS: '${{ github.workspace }}/overlay/triplets'
steps:
- name: Get more disk space
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
sudo rm -rvf /usr/lib/mono
sudo rm -rvf /usr/local/lib/android
sudo rm -rvf /usr/local/share/vcpkg
sudo rm -rvf /usr/share/miniconda
elif [ "$RUNNER_OS" == "macOS" ]; then
sudo rm -rvf "/Applications/Xcode_14.3.1.app"
sudo rm -rvf "/Library/Frameworks/Mono.framework"
sudo rm -rvf "/Users/runner/Library/Android"
sudo rm -rvf "/usr/bin/link"
sudo rm -rvf "/usr/bin/link"
sudo rm -rvf "/usr/local/miniconda"
sudo rm -rvf "/usr/local/opt/geckodriver/bin"
sudo rm -rvf "/usr/local/share/chromedriver-mac-x64"
sudo rm -rvf "/usr/local/share/edge_driver"
sudo rm -rvf "/usr/local/share/vcpkg"
sudo rm -rvf '${GOROOT_1_20_X64}'
sudo rm -rvf '${GOROOT_1_21_X64}'
sudo rm -rvf '${GOROOT_1_22_X64}'
sudo rm -rvf '${JAVA_HOME_8_X64}'
sudo rm -rvf '${JAVA_HOME_11_X64}'
sudo rm -rvf '${JAVA_HOME_17_X64}'
sudo rm -rvf '${JAVA_HOME_21_X64}'
elif [ "$RUNNER_OS" == "Windows" ]; then
rm -rvf "C:\Android"
rm -rvf "C:\Miniconda"
rm -rvf "C:\Program Files\dotnet"
rm -rvf "C:\SeleniumWebDrivers\"
rm -rvf "C:\selenium\"
rm -rvf "C:\tools\Apache24"
rm -rvf "C:\tools\nginx-1.27.0"
rm -rvf "C:\vcpkg"
rm -rvf '${JAVA_HOME_8_X64}'
rm -rvf '${JAVA_HOME_11_X64}'
rm -rvf '${JAVA_HOME_17_X64}'
rm -rvf '${JAVA_HOME_21_X64}'
fi
shell: bash
continue-on-error: true
- name: Setup XCode
if: runner.os == 'macOS'
uses: maxim-lobanov/setup-xcode@v1
Expand Down
8 changes: 5 additions & 3 deletions vcpkg-configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@
"default-registry": {
"kind": "git",
"repository": "https://github.com/microsoft/vcpkg",
"baseline": "f7423ee180c4b7f40d43402c2feb3859161ef625"
"baseline": "3508985146f1b1d248c67ead13f8f54be5b4f5da"
},
"registries": [
{
"kind": "git",
"repository": "https://github.com/Open-Transactions/vcpkg-registry",
"baseline": "ab9c0ab78566f9da15492bc432786b3c5a3092ed",
"baseline": "402508fb71da46f43de90654005e08e175aa70c3",
"packages": [
"otcommon"
"libsodium",
"otcommon",
"protobuf"
]
}
]
Expand Down
33 changes: 26 additions & 7 deletions vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema":
"https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json",
"name": "opentxs-dependency-builder",
"builtin-baseline": "f7423ee180c4b7f40d43402c2feb3859161ef625",
"builtin-baseline": "3508985146f1b1d248c67ead13f8f54be5b4f5da",
"version": "1",
"dependencies": [
"boost-algorithm",
Expand All @@ -19,10 +19,8 @@
"boost-dynamic-bitset",
"boost-endian",
"boost-interprocess",
"boost-intrusive",
"boost-iostreams",
"boost-json",
"boost-move",
"boost-multiprecision",
"boost-program-options",
"boost-scope",
Expand All @@ -36,16 +34,36 @@
"frozen",
"gtest",
"libguarded",
"libsodium",
{
"name": "libsodium",
"version>=": "1.0.20#103"
},
"lmdb",
"openssl",
"otcommon",
{
"name": "openssl",
"version>=": "3.2.0"
},
{
"name": "otcommon",
"version>=": "3.1.2"
},
"protobuf",
{
"name": "protobuf",
"host": true
},
{
"name": "pthread",
"platform": "windows"
},
"qtbase",
{
"name": "qtbase",
"default-features": false,
"features": [
"gui",
"widgets"
]
},
"qtdeclarative",
"secp256k1",
"simpleini",
Expand All @@ -54,6 +72,7 @@
{
"name": "zeromq",
"features": [
"curve",
"sodium"
]
},
Expand Down

0 comments on commit 9f93178

Please sign in to comment.