Skip to content

ci: cache vcpkg packages, update actions, update dependencies, use VS 2026 - #118

Merged
zao merged 6 commits into
PathOfBuildingCommunity:masterfrom
zao:ci/binary-cache
Sep 9, 2026
Merged

ci: cache vcpkg packages, update actions, update dependencies, use VS 2026#118
zao merged 6 commits into
PathOfBuildingCommunity:masterfrom
zao:ci/binary-cache

Conversation

@zao

@zao zao commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

As the old x-gha binary cache was removed a while ago, CI builds have been building dependencies from vcpkg from scratch on every run.

This PR shifts to using actions/cache to persist vcpkg's binary package cache. This has some limitations in that caches last for only seven days, can be at most 10 GiB and are scoped to individual branches, but is better than nothing.

It also updates the CI actions to current versions and removed lukka/run-vcpkg as the caching that action was used for is no longer valid and it fiddles with our cache environment variables.

Dependencies from vcpkg are also updated to around September 2026 and we now use Visual Studio 2026 to build.

zao added 6 commits September 9, 2026 08:06
lukka/run-vcpkg does a bit too much these days and as GHA caching is no
longer available on GitHub, we instead leverage actions/cache with our
own location set in an environment variable.
run-vcpkg clobbers this variable with a normalised location which leads
to mismatches in the restore and store steps.
Bumped vendored dependency versions by about three years:
* Dear ImGui to 1.92.9b from 1.89.9.
* GLM to 1.0.3 from 0.9.9.8.
* GLI to 2026-04-05 master with patches for GLM.
* luautf8 to 0.1.7 from 0.1.5.
* vcpkg to 2026.03.18 from 2026.01.16.

luautf8 has 0.2.0 available but that has breaking changes that may
affect the Lua code.
zlib recently changed the name of their DLLs on Windows to `z.dll` and
`z.dll`, adapt build scripts accordingly.
@zao
zao merged commit 21fbd08 into PathOfBuildingCommunity:master Sep 9, 2026
1 check passed
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.

1 participant