Skip to content

CI: move WRAP_RUBY testing from macOS to Linux batch build job - #2648

Merged
blowekamp merged 1 commit into
SimpleITK:mainfrom
blowekamp:ci/move-macos-ruby-wrap-to-linux
Jul 21, 2026
Merged

blowekamp merged 1 commit into
SimpleITK:mainfrom
blowekamp:ci/move-macos-ruby-wrap-to-linux

Conversation

@blowekamp

Copy link
Copy Markdown
Member

Summary

The macOS GitHub Actions runner images (see actions/runner-images macOS 15 readme) now list Ruby only under Cached Tools rather than as a build-ready system default, making the bare system Ruby unreliable for building native/SWIG extensions such as SimpleITK's Ruby wrapping.

Changes

  • Removed WRAP_RUBY:BOOL=ON from the macos-14 (Xcode 15.4, Python 3.10) job.
  • Added WRAP_RUBY:BOOL=ON to the existing ubuntu-22.04 gcc-12 job, which already has a full GCC toolchain and apt-provided Ruby development headers.

Testing

CI will validate the moved WRAP_RUBY build on the ubuntu-22.04/gcc-12 job.

The default/system Ruby on the macOS GitHub Actions runner images is no
longer well suited for building native extensions (e.g. SWIG-wrapped
modules): actions/runner-images now ships Ruby only as an optional cached
tool set up via ruby/setup-ruby rather than a build-ready system install,
and relying on the bare system Ruby for WRAP_RUBY has become unreliable.

Move WRAP_RUBY:BOOL=ON from the macos-14 (Xcode 15.4, Python 3.10) job to
the existing ubuntu-22.04 gcc-12 job, which already builds successfully
with a full GCC toolchain and apt-provided Ruby development headers.
@blowekamp
blowekamp requested a review from zivy July 21, 2026 13:08
@blowekamp
blowekamp marked this pull request as ready for review July 21, 2026 13:08
@blowekamp
blowekamp requested a review from dave3d July 21, 2026 13:08
@blowekamp
blowekamp merged commit f4775b2 into SimpleITK:main Jul 21, 2026
15 of 16 checks passed
@blowekamp
blowekamp deleted the ci/move-macos-ruby-wrap-to-linux branch September 9, 2026 12:55
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