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

CircleCI: build on caches, not exponential built workspaces #992

Closed
tlaurion opened this issue May 6, 2021 · 2 comments
Closed

CircleCI: build on caches, not exponential built workspaces #992

tlaurion opened this issue May 6, 2021 · 2 comments

Comments

@tlaurion
Copy link
Collaborator

tlaurion commented May 6, 2021

[plan is to make something like] this (n.b. that I'm pretty sure caches were disabled in that) but idea was that instead of using workspaces it would build a cache of each component (so, musl-cross, cb_4.8.1_toolchain, cb_4.11_toolchain, cb_4.13_toolchain and then at some point all the rest of the tools) and then build all the boards in parallel using the caches created.

See Tonux599@39a248b

Along with implementing something like this when we came around to rebuilding, the build would jump straight into building each board with the caches from the full build.

Originally posted by @Tonux599 in #977 (comment)

@tlaurion
Copy link
Collaborator Author

@Tonux599 :
https://gist.github.com/CJBridges/86a5ab831f2763a4ed699061bf902dac from https://discuss.circleci.com/t/skip-job-if-cache-exists/28726/7

might be helpful.
Seems like skipping workspace reusage if cache exists would be one of the most effective optimization?

@tlaurion
Copy link
Collaborator Author

tlaurion commented Dec 4, 2021

#1015 merged

@tlaurion tlaurion closed this as completed Dec 4, 2021
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