Skip to content

Stabilize vcpkg CI caches and Release builds - #87

Merged
pmeems merged 4 commits into
developmentfrom
ci-speedup
Nov 19, 2026
Merged

pmeems merged 4 commits into
developmentfrom
ci-speedup

Conversation

@pmeems

@pmeems pmeems commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Pin CI to the manifest vcpkg baseline and cache dependencies by platform and feature set. Use release-only triplets for Release builds, and pass the existing MSBuild log to the parity check to avoid rebuilding with different features.

pmeems and others added 3 commits November 19, 2026 10:33
Pin CI to the manifest vcpkg baseline and cache dependencies by platform and feature set. Use release-only triplets for Release builds, and pass the existing MSBuild log to the parity check to avoid rebuilding with different features.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The Windows workflow conditions implicitly require dependency-job success, so a failed Win32 dependency job on a push to main skips its consumer instead of allowing it to install missing packages.

1 open issue
What changed in this PR

This PR stabilizes dependency caching for MapWinGIS6’s CMake and MSBuild CI pipelines and reduces dependency work for Release builds.

Changes:

  • Pins CI’s vcpkg checkout to the manifest baseline and introduces dependency-cache jobs separated by platform and feature set.
  • Adds release-only triplets, separate installation trees, and guards against using Release dependencies for Debug builds.
  • Reuses the existing MSBuild log for parity reporting, avoiding a rebuild with different dependency features.

Validation was limited to source inspection; builds and tests were not run.

File Description
docs/​CMAKE-MIGRATION.md Documents release-only CMake installation trees and configuration restrictions.
docs/​BUILDING.md Explains baseline pinning, cache management, Release triplets, and log reuse.
Directory.Build.targets Rejects Debug builds with release-only dependencies.
Directory.Build.props Selects release-only triplets and separate MSBuild installation trees.
cmake/​MwgVcpkg.cmake Separates Release dependency trees and restricts multi-config builds.
cmake/​MwgPlatform.cmake Accepts release-only triplets and adds Debug guards.
build/​triplets/​x86-windows-v145-release.cmake Adds the Win32 release-only dependency triplet.
build/​triplets/​x64-windows-v145-release.cmake Adds the x64 release-only dependency triplet.
build/​scripts/​Test-BuildConfiguration.ps1 Adds triplet-selection, consistency, and Debug-guard checks.
build/​scripts/​Sync-VcpkgBinaryCache.ps1 Adds cache snapshots, change detection, and archive pruning.
build/​scripts/​Compare-CompileCommands.ps1 Normalizes release-only installation paths in parity reports.
build/​scripts/​bootstrap-vcpkg.ps1 Adds baseline checkout support and exports the selected root to CI.
.github/​workflows/​vcpkg-deps.yml Adds reusable dependency installation and cache publishing.
.github/​workflows/​cmake-vs.yml Extracts reusable CMake builds with Release dependency selection.
.github/​workflows/​build.yml Connects dependency jobs to consumers and adds cache cleanup.
.github/​workflows/​build-msbuild.yml Extracts reusable MSBuild builds and passes their logs to parity reporting.
.ai/​memory/​build/​dependencies.md Records cache-management and parity-log guidance.

Review effort: Balanced

Comment thread .github/workflows/build.yml Resolved
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@pmeems
pmeems enabled auto-merge (squash) November 19, 2026 13:03
@pmeems
pmeems disabled auto-merge November 19, 2026 15:56
@pmeems
pmeems merged commit 0d0fca1 into development Nov 19, 2026
33 of 34 checks passed
@pmeems
pmeems deleted the ci-speedup branch November 19, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants