ci: cache vcpkg packages, update actions, update dependencies, use VS 2026 - #118
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As the old
x-ghabinary 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/cacheto 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-vcpkgas 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.