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

Make CI Workflow faster #140

Merged
merged 1 commit into from
Mar 15, 2022
Merged

Conversation

TaKO8Ki
Copy link
Contributor

@TaKO8Ki TaKO8Ki commented Mar 15, 2022

This pull request disables incremental compilation in CI.

CI builds often are closer to from-scratch builds, as changes are typically much bigger than from a local edit-compile cycle. For from-scratch builds, incremental adds an extra dependency-tracking overhead. It also significantly increases the amount of IO and the size of ./target, which make caching less effective.

ref: https://matklad.github.io/2021/09/04/fast-rust-builds.html

@TaKO8Ki TaKO8Ki changed the title Make Ci Workflow faster Make CI Workflow faster Mar 15, 2022
@rapiz1 rapiz1 enabled auto-merge (squash) March 15, 2022 13:51
@rapiz1 rapiz1 merged commit f9ee8ec into rapiz1:main Mar 15, 2022
@TaKO8Ki TaKO8Ki deleted the make-ci-workflow-faster branch March 15, 2022 13:53
TaKO8Ki added a commit to TaKO8Ki/rathole that referenced this pull request Mar 23, 2022
rapiz1 pushed a commit that referenced this pull request Mar 25, 2022
cssivision pushed a commit to cssivision/rathole that referenced this pull request Apr 21, 2022
cssivision pushed a commit to cssivision/rathole that referenced this pull request Apr 21, 2022
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