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: refactor and improve times #1505

Merged
merged 10 commits into from
Nov 7, 2023
Merged

Conversation

Mirko-von-Leipzig
Copy link
Contributor

@Mirko-von-Leipzig Mirko-von-Leipzig commented Nov 7, 2023

This PR (hopefully) improves the current CI situation by reducing the time tests take to build.

Highlights:

  • Use mold linker (somehow this got removed for tests - probably my fault).
  • Only cache pushes to main branch. Each entry is 1.2GB which means that we are getting cache churn (max cache is 10GB); instead only cache main which at least should have the bulk of the deps cached then.
  • Refactored some deps so that expensive -sys crates are no longer bundled but rather use the vendored crates. This might cause an issue with docker? It does cause docker changes but those have been applied.

Copy link
Contributor

@kkovaacs kkovaacs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, except the Docker build.
I think we'll have to add libzstd-dev to the list of packages we install in prepare.sh.

@Mirko-von-Leipzig Mirko-von-Leipzig merged commit 0e418ef into eqlabs:main Nov 7, 2023
7 checks passed
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