Skip to content

ci: cache vcpkg packages on Windows builds - #766

Merged
wgtmac merged 1 commit into
apache:mainfrom
abnobdoss:ci/cache-vcpkg
Jun 22, 2026
Merged

ci: cache vcpkg packages on Windows builds#766
wgtmac merged 1 commit into
apache:mainfrom
abnobdoss:ci/cache-vcpkg

Conversation

@abnobdoss

Copy link
Copy Markdown
Contributor

What

Cache the installed vcpkg packages on the Windows builds in test and sql_catalog_test, and skip the install step when the cache is present.

Why

Every Windows run reinstalls the same packages (zlib, nlohmann-json, nanoarrow, roaring, plus cpr / sqlite3) from scratch, costing a couple of minutes each time. Caching them removes that on every run after the first. This matches what aws_test already does.

Validation

A warm run reused the cached packages and skipped the install. The cache only rebuilds when the package list changes.

@zhjwpku zhjwpku left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@zhjwpku zhjwpku added the ready to merge This PR has been approved and it is ready to merge. label Jun 22, 2026
@wgtmac wgtmac removed the ready to merge This PR has been approved and it is ready to merge. label Jun 22, 2026
@wgtmac
wgtmac merged commit 0aff5e9 into apache:main Jun 22, 2026
20 checks passed
@wgtmac

wgtmac commented Jun 22, 2026

Copy link
Copy Markdown
Member

Thanks @abnobdoss and @zhjwpku!

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.

3 participants