ruby-tree-sitter
ruby-tree-sitter copied to clipboard
Release 1.6.0
- [x] Bring back cross-compilation.
- [x] Use rake-compiler-dock.
- https://github.com/Faveod/ruby-tree-sitter/pull/63
- https://github.com/Faveod/ruby-tree-sitter/pull/69
- [x] Cross-compile and publish only on master or a branch starting with
cross-compile/**
- It seems wasteful+slow to generate for all the platforms for every PR, we can simply call native compilation on the github action itself.
- edit: After testing, it turns out that it takes ~7 minutes for linux only. When we add macos, it will take a bit more. And also some more when we test the compiled gems. But I'd say we can afford PRs waiting up to 15 minutes before.
- [x] Test cross-compiled gems
- https://github.com/Faveod/ruby-tree-sitter/pull/70
- [x] Patch tree-sitter makefile to be able to cross-compile for macos
- https://github.com/Faveod/ruby-tree-sitter/pull/69
- [ ] Publish cross-compiled gems to rubygems.org
- verify once https://github.com/Faveod/ruby-tree-sitter/pull/71 is merged.
- [x] Use rake-compiler-dock.
- [x] Make
--disable-sys-libs
the default option, and make users specify--enable-sys-libs
at will.- That, when cross-compilation actually works:
- Users can avoid pre-compiled if they'd like to, like what happens with Nokogiri
- And then send the
--enable-sys-libs
to do whatever we want.
- I think what we have now is an unfortunate mistake. We decide what's stable and let the user handle their own env if they want to.
- https://github.com/Faveod/ruby-tree-sitter/pull/70
- That, when cross-compilation actually works:
- [x] Bump 1.6.0
- https://github.com/Faveod/ruby-tree-sitter/pull/71