-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
Speed up CI builds #60
Comments
Doc CI workflow is also in separate pipeline which will have to build all over again apart from build.yml. |
I was thinking I'm putting the whole doc generation in the doc repo, and detach it from the verso pushes. There are multiple reasons to do it, one, is that stable rustdoc cannot make index page, that's an unstable nightly feature for some reason. Perhaps it could generate new docs on a daily basis. having separate work flow here is not really a problem, as it cached and kinda fast. True, we could think about saving some build artifacts regarding cargo builds. Also perhaps own dockerfile to build verso (could make more sense than cache apt) But also we want build matrix in the future, so that's perhaps not the best approach. I will think about it later this week. |
Maybe we can use rust cache as doc.yml does: https://github.com/versotile-org/verso/blob/main/.github/workflows/doc.yml#L25 |
I noticed that the builds are generally slow. It could be speed up with some caching and better flow.
Example in the doc CI workflow
The text was updated successfully, but these errors were encountered: