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 performance improvements #3383

Merged
merged 1 commit into from Aug 17, 2021

Conversation

codealchemy
Copy link
Contributor

This skips the intermediate Cache gems / Install dependencies steps by enabling bundler-cache in the setup-ruby action.

Additionally, the added MAKE env var improves the performance of building native extensions on MRI (borrowing the approach mentioned here)

This up to roughly 1m30s per MRI build in the current CI matrix (and low-to-no improvement for jruby builds)

@mshibuya mshibuya merged commit 90c774e into railsadminteam:master Aug 17, 2021
@mshibuya
Copy link
Member

Fantastic, thanks!

@codealchemy codealchemy deleted the ci-improvements branch August 17, 2021 14:29
codealchemy added a commit that referenced this pull request Jul 15, 2022
Followup to #3383

From discussion in ruby/setup-ruby#299 (comment)

>setting flags in MAKE is not recommended, and it can break e.g. system ENV["MAKE"], "target".
What works at least for GNU Make is to use MAKEFLAGS=-j8 instead.
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.

None yet

2 participants