Skip to content

Fix release workflow#23

Open
berkos wants to merge 1 commit into
fetlife:mainfrom
berkos:fix-release-workflow
Open

Fix release workflow#23
berkos wants to merge 1 commit into
fetlife:mainfrom
berkos:fix-release-workflow

Conversation

@berkos
Copy link
Copy Markdown
Contributor

@berkos berkos commented Jun 4, 2026

The release workflow's native-gem cross-compile step used gem-compiler,
which unpacks the source gem and runs its extconf.rb in isolation —
without rb_sys on the load path. Since the move to the rb-sys mkmf
build, that step fails with cannot load such file -- rb_sys/mkmf.

This drops the precompiled-native-gem matrix and releases the source gem
only. The extension is compiled at install time, so no functionality is
lost.

Testing

  • Source gem builds via rake gem
  • A tag push produces a GitHub Release with the source gem attached

The native-gem cross-compile step used gem-compiler, which unpacks the
source gem and runs its extconf.rb in isolation — without rb_sys on the
load path. After the move to the rb-sys mkmf build, this fails with
`cannot load such file -- rb_sys/mkmf`.

Drop the precompiled-native-gem matrix and publish the source gem only.
The native extension is compiled at install time, so no functionality is
lost.
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.

1 participant