Skip to content
This repository was archived by the owner on Aug 12, 2026. It is now read-only.

fix(ci): restore vcpkg binary caching - #150

Merged
acgetchell merged 1 commit into
mainfrom
ci/vcpkg-binary-cache
Aug 7, 2026
Merged

acgetchell merged 1 commit into
mainfrom
ci/vcpkg-binary-cache

Conversation

@acgetchell

@acgetchell acgetchell commented Aug 7, 2026 •

Copy link
Copy Markdown
Owner

Replace the removed x-gha backend with a supported filesystem cache persisted through GitHub Actions. Share the setup across CI, sanitizers, coverage, and CodeQL while caching source downloads separately.

Summary by CodeRabbit

  • CI Improvements

    • Added shared dependency caching across build, sanitizer, coverage, and code analysis workflows.
    • Improved build setup consistency across GCC, Clang, AppleClang, and MSVC environments.
    • Added compiler-specific cache handling to speed up repeated builds.
  • Documentation

    • Updated maintenance documentation to describe the cached dependency setup used by CI.

Replace the removed x-gha backend with a supported filesystem cache persisted through GitHub Actions. Share the setup across CI, sanitizers, coverage, and CodeQL while caching source downloads separately.
@acgetchell acgetchell self-assigned this Aug 7, 2026
@coderabbitai

coderabbitai Bot commented Aug 7, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 2affadda-fe91-4e06-86bb-85f8bc8e0146

📥 Commits

Reviewing files that changed from the base of the PR and between 02682e8 and 2b27462.

📒 Files selected for processing (6)
  • .github/actions/setup-vcpkg/action.yml
  • .github/workflows/_sanitizer.yml
  • .github/workflows/ci.yml
  • .github/workflows/codecov-upload.yml
  • .github/workflows/codeql.yml
  • README.md

Walkthrough

The PR adds a composite action for pinned vcpkg setup and cache restoration. CI workflows now use compiler-specific binary caches and the local action. The README documents the new setup and cache behavior.

Changes

Cached vcpkg CI

Layer / File(s) Summary
Create cached vcpkg action
.github/actions/setup-vcpkg/action.yml
Adds required cache-key and optional vcpkg-directory inputs. The action prepares vcpkg and restores binary and source caches.
Adopt cached setup in workflows
.github/workflows/_sanitizer.yml, .github/workflows/ci.yml, .github/workflows/codecov-upload.yml, .github/workflows/codeql.yml
Configures writable vcpkg binary caches. Replaces direct lukka/run-vcpkg setup with the local action and compiler-specific cache keys.
Document cached vcpkg setup
README.md
Documents manifest-based checkout selection, compiler-specific binary archives, separate source archives, and retained bootstrap validation.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Possibly related PRs

Suggested labels: vcpkg_package_manager

Poem

Pinned tools align,
Caches flow through every build,
Compilers keep keys,
Sources rest apart from bins,
CI moves with less setup.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the primary change: restoring vcpkg binary caching in CI.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/vcpkg-binary-cache

Comment @coderabbitai help to get the list of available commands.

@acgetchell
acgetchell enabled auto-merge August 7, 2026 06:42
@acgetchell

Copy link
Copy Markdown
Owner Author

@CodeRabbit review

@coderabbitai

coderabbitai Bot commented Aug 7, 2026 •

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@acgetchell
acgetchell merged commit 8f765ee into main Aug 7, 2026
14 checks passed
@acgetchell
acgetchell deleted the ci/vcpkg-binary-cache branch August 7, 2026 08:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant