Configuration - Update VCPKG version (#878)

- Updates VCPKG baseline and version tag to 2025.10.17
- Adds new VCPKG install options for exact version matching and post-build cleanup
- Adds macOS build dependencies (autoconf-archive and libtool)
This commit is contained in:
Pasukhin Dmitry
2025-12-04 17:30:31 +00:00
committed by GitHub
parent 985c3992f8
commit d60335d2f2
2 changed files with 6 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ inputs:
vcpkg-tag:
description: 'vcpkg tag to checkout'
required: false
default: '2025.06.13'
default: '2025.10.17'
github-token:
description: 'GitHub token for NuGet package access'
required: true
@@ -22,6 +22,7 @@ runs:
echo "VCPKG_BINARY_SOURCES=clear;nuget,https://nuget.pkg.github.com/Open-Cascade-SAS/index.json,readwrite" >> $GITHUB_ENV
echo "VCPKG_FEATURE_FLAGS=binarycaching,manifests,versions" >> $GITHUB_ENV
echo "VCPKG_DISABLE_COMPILER_TRACKING=1" >> $GITHUB_ENV
echo "VCPKG_INSTALL_OPTIONS=--x-abi-tools-use-exact-versions;--clean-after-build" >> $GITHUB_ENV
shell: bash
if: runner.os != 'Windows'
@@ -34,6 +35,7 @@ runs:
echo "VCPKG_BINARY_SOURCES=clear;nuget,https://nuget.pkg.github.com/Open-Cascade-SAS/index.json,readwrite" >> $env:GITHUB_ENV
echo "VCPKG_FEATURE_FLAGS=binarycaching,manifests,versions" >> $env:GITHUB_ENV
echo "VCPKG_DISABLE_COMPILER_TRACKING=1" >> $env:GITHUB_ENV
echo "VCPKG_INSTALL_OPTIONS=--x-abi-tools-use-exact-versions;--clean-after-build" >> $env:GITHUB_ENV
shell: pwsh
if: runner.os == 'Windows'
@@ -65,9 +67,10 @@ runs:
brew install mono || true
brew install openexr || true
brew install --cask xquartz || true
brew install autoconf-archive || true
brew install libtool || true
shell: bash
- name: Set up vcpkg (Unix)
if: runner.os != 'Windows'
run: |

View File

@@ -2,7 +2,7 @@
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg-configuration.schema.json",
"default-registry": {
"kind": "git",
"baseline": "2ddc10c8afa00a762a69f21f6427849fe906ede0",
"baseline": "74e6536215718009aae747d86d84b78376bf9e09",
"repository": "https://github.com/microsoft/vcpkg"
},
"registries": [