mirror of
https://github.com/ruby/ruby.git
synced 2026-10-28 16:36:20 +08:00
Package precompiled native gems for Ruby 3.3, 3.4, and 4.0 across 10 platforms: aarch64-linux-gnu, aarch64-linux-musl, aarch64-mingw-ucrt, arm-linux-gnu, arm-linux-musl, arm64-darwin, x64-mingw-ucrt, x86_64-darwin, x86_64-linux-gnu, and x86_64-linux-musl. - Add Ruby-version-aware extension loader in lib/prism.rb with GLIBC error message for musl/glibc mismatches - Add cross-compilation support to Rakefile using rake-compiler-dock - Add a reusable `build-gems.yml` workflow called by both the CI workflow (`test-gems.yml`) and the publish workflow (`publish-gem.yml`), building source and native gems across all platforms and Ruby versions - Add scripts for building, verifying, and testing gems Update `publish-gem.yml` to handle multi-gem publishing. Note that `rubygems/release-gem` only supports a single gem, so this uses `rubygems/configure-rubygems-credentials` and loops `gem push` over each built `.gem`. Add a `workflow_dispatch` trigger alongside the existing tag-push trigger, and create/update a GitHub release for the tag with all gems plus a `CHECKSUMS.txt` manifest. Move testing of the "ruby" platform gem (compile-from-source) out of `main.yml` into `test-gems.yml` so we're testing the gem built by the workflow tooling. https://github.com/ruby/prism/commit/6cc5aa2d98