-
Notifications
You must be signed in to change notification settings - Fork 131
ci(vcpkg): Stabilize vcpkg binary caching (compiler-aware keys, explicit cache path) #2028
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
ci(vcpkg): Stabilize vcpkg binary caching (compiler-aware keys, explicit cache path) #2028
Conversation
|
Thanks for sending another fix. It is quite absurd that vcpkg cache breaks every month. All this new code you added, is all this totally necessary? Complexity looks outrageous and not human readable. |
…y instead of temp dir
…key with baseline/MSVC/triplet
…e cache on main branch
…ULT_BINARY_CACHE error
…vent race condition
… prevent lukka/run-vcpkg cache conflicts
0792367 to
4adbf76
Compare
I removed some of the debugging lines. There's one potentially optional part that makes it so only one of the build jobs tries to save to the cache may be optional, but I think it avoids the errors when all 6 jobs try to write at the same time and only one succeeds. |
Somehow, the cache keys changed in the last two weeks, and an empty cache (189 bytes) was stored, causing all subsequent runs to "hit" an empty cache.
Identified several opportunities to improve it while troubleshooting:
Build time is back down at 6 minutes again