Skip to content

ci: create precompiled gems and push to RubyGems automatically

Stan Hu requested to merge sh-ci-precompiled-gems into master

Upon a tag, this commit adds:

  1. A build_gems stage that cross-compiles native gems
  2. A gem_smoke_test that installs the x86 gem and checks if the Rust extension is available.
  3. Pushes the gems to RubyGems.

Sample push: https://gitlab.com/gitlab-org/ruby/gems/prometheus-client-mmap/-/jobs/4153088935

Edited by Stan Hu

Merge request reports

Loading