Skip to content
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

[ci] Cache build folder to save CI time #55

Open
uilianries opened this issue Jan 30, 2024 · 0 comments
Open

[ci] Cache build folder to save CI time #55

uilianries opened this issue Jan 30, 2024 · 0 comments

Comments

@uilianries
Copy link
Member

uilianries commented Jan 30, 2024

Thanks to the PR #54, we can build a minimal Yocto image in the CI, so we have a complete test.

Building a yocto image for the first time take hours, not only because it builds everything from source, but also need to download all external dependencies.

The first build took >5h and it will be repeated for each new build.

It would be nice if we could cache the build folder, so we could decrease the build time to few minutes only.

The build folder should result in giga bytes, and we will need to compact it to another format (tar.xz), then store it (Arfactory?)

A blog post about sharing Yocto sstate and download folder:

https://bootlin.com/blog/yocto-sharing-the-sstate-cache-and-download-directories/

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

No branches or pull requests

1 participant