Skip to content

ci: cache vcpkg packages on Windows builds#766

Open
abnobdoss wants to merge 1 commit into
apache:mainfrom
abnobdoss:ci/cache-vcpkg
Open

ci: cache vcpkg packages on Windows builds#766
abnobdoss wants to merge 1 commit into
apache:mainfrom
abnobdoss:ci/cache-vcpkg

Conversation

@abnobdoss

Copy link
Copy Markdown

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

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