Skip to content

Publish precompiled native Ruby gems - #777

Merged
Stranger6667 merged 1 commit into
Stranger6667:masterfrom
excid3:ruby-precompiled-gems
Aug 28, 2026
Merged

Publish precompiled native Ruby gems#777
Stranger6667 merged 1 commit into
Stranger6667:masterfrom
excid3:ruby-precompiled-gems

Conversation

@excid3

@excid3 excid3 commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

This adds cross-compile native gems for six platforms (Ruby 3.2-4.0) and pushes them to RubyGems alongside the source gem. This also adds Ruby 4.0 to the test suite.

With precompiled gems, users won't have to have build dependencies like rust / clang installed to use this.

Cross-compile native gems for six platforms (Ruby 3.2-4.0) via
oxidize-rb/actions/cross-gem and push them to RubyGems alongside the
source gem. Bump rb_sys to 0.9.130 for Ruby 4.0 support and add
Ruby 4.0 to the test matrices.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@codecov

codecov Bot commented Aug 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.04%. Comparing base (dbe9b13) to head (18d717b).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #777   +/-   ##
=======================================
  Coverage   92.04%   92.04%           
=======================================
  Files          17       17           
  Lines        2603     2603           
=======================================
  Hits         2396     2396           
  Misses        207      207           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@codspeed-hq

codspeed-hq Bot commented Aug 28, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 12 untouched benchmarks


Comparing excid3:ruby-precompiled-gems (18d717b) with master (dbe9b13)

Open in CodSpeed

@Stranger6667 Stranger6667 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Thank you very much!

@Stranger6667

Copy link
Copy Markdown
Owner

I am going to merge this and will do some extra tuning in a separate PR

@Stranger6667
Stranger6667 merged commit 9515907 into Stranger6667:master Aug 28, 2026
91 of 92 checks passed
@Stranger6667

Copy link
Copy Markdown
Owner

Released in 0.21.3! :)

@excid3

excid3 commented Aug 28, 2026

Copy link
Copy Markdown
Contributor Author

Amazing, thank you!

@Stranger6667

Copy link
Copy Markdown
Owner

Please, let me know if any platform is missing :) Or any feature :) would be happy to take a look!

@excid3
excid3 deleted the ruby-precompiled-gems branch August 28, 2026 13:27
@excid3

excid3 commented Aug 28, 2026

Copy link
Copy Markdown
Contributor Author

Will do! I just updated to the new precompiled version in production and it's working great.

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