Skip to content

Conversation

@contagon
Copy link
Owner

@contagon contagon commented Jun 7, 2025

I've been struggling to find a solid vcpkg cache setup with github actions, now attempting with Cloudflare's free S3 tier to see how it does.

@contagon
Copy link
Owner Author

contagon commented Jun 7, 2025

Finally got this working! It's slower than the github actions cache version (takes about ~5min), but there is some work to multithread it, see here or here. Currently taking up about ~3gb of the free 10gb of cloudflare S3 storage.

Even with this slowdown, I think the S3 storage is superior - github actions cache expire after a week, and are branch specific, so it wasn't working very reliably. This should be much more stable. The other option would be to try nuget caching with github, but it requires mono as a dependency and I didn't want to deal with that, or it's strange commands.

@contagon contagon merged commit 7790653 into master Jun 7, 2025
12 checks passed
@contagon contagon deleted the fix-vcpkg-s3 branch June 7, 2025 16:01
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