build: update vcpkg to 2026.10.16

This commit is contained in:
Adrien Beraud authored and Adrien Béraud committed 2026-10-25 13:46:35 +00:00
1 parent 7af9868c47
commit d66713d97e
6 files changed
+43 -3

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
name: Set up vcpkg
description: Check out and bootstrap the vcpkg revision pinned by the build.
runs:
using: composite
steps:
- name: Set up pinned vcpkg
shell: pwsh
run: |
$baseline = (Get-Content -Raw "$env:GITHUB_WORKSPACE/vcpkg-configuration.json" | ConvertFrom-Json).'default-registry'.baseline
git -C "$env:VCPKG_INSTALLATION_ROOT" fetch --depth=1 origin $baseline
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
git -C "$env:VCPKG_INSTALLATION_ROOT" checkout --detach $baseline
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
& "$env:VCPKG_INSTALLATION_ROOT/bootstrap-vcpkg.bat" -disableMetrics
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
"$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
+3
View File
@@ -45,6 +45,9 @@ jobs:
steps:
- uses: actions/checkout@v7
- name: Set up vcpkg
uses: ./.github/actions/setup-vcpkg
- name: Cache vcpkg installed packages
id: cache-vcpkg
uses: actions/cache@v6
+6
View File
@@ -322,6 +322,9 @@ jobs:
with:
submodules: recursive
- name: Set up vcpkg
uses: ./.github/actions/setup-vcpkg
- name: Set up MSVC developer environment
uses: microsoft/setup-msbuild@v3
@@ -428,6 +431,9 @@ jobs:
with:
submodules: recursive
- name: Set up vcpkg
uses: ./.github/actions/setup-vcpkg
- name: Set up MSVC developer environment
uses: microsoft/setup-msbuild@v3
+12
View File
@@ -28,6 +28,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v7
- name: Set up vcpkg
uses: ./.github/actions/setup-vcpkg
- name: Set up MSVC
uses: microsoft/setup-msbuild@v3
@@ -76,6 +79,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v7
- name: Set up vcpkg
uses: ./.github/actions/setup-vcpkg
- name: Set up MSVC
uses: microsoft/setup-msbuild@v3
@@ -126,6 +132,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v7
- name: Set up vcpkg
uses: ./.github/actions/setup-vcpkg
- name: Set up MSVC
uses: microsoft/setup-msbuild@v3
@@ -203,6 +212,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v7
- name: Set up vcpkg
uses: ./.github/actions/setup-vcpkg
- name: Set up MSVC
uses: microsoft/setup-msbuild@v3
+4 -2
View File
@@ -121,10 +121,12 @@ Building on Windows with MSVC is supported with VCPKG and CMake.
### Build with VCPKG in manifest mode
1. Install [VCPKG](https://github.com/microsoft/vcpkg) and required dependencies:
1. Install [VCPKG](https://github.com/microsoft/vcpkg) 2026.10.16 and required dependencies:
```ps1
git clone https://github.com/microsoft/vcpkg.git
cd vcpkg; .\bootstrap-vcpkg.bat
cd vcpkg
git checkout 9eec002df1cd109f8f104cd966a763daf9751489
.\bootstrap-vcpkg.bat
```
2. Use CMake preset for vcpkg:
+1 -1
View File
@@ -1,7 +1,7 @@
{
"default-registry": {
"kind": "git",
"baseline": "319504a5326aa870edde46438c5455fa76305a56",
"baseline": "9eec002df1cd109f8f104cd966a763daf9751489",
"repository": "https://github.com/microsoft/vcpkg"
},
"overlay-ports": [