ruby-tree-sitter icon indicating copy to clipboard operation
ruby-tree-sitter copied to clipboard

Release 1.6.0

Open stackmystack opened this issue 7 months ago • 0 comments

  • [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] Make --disable-sys-libs the default option, and make users specify --enable-sys-libs at will.
    • That, when cross-compilation actually works:
      1. Users can avoid pre-compiled if they'd like to, like what happens with Nokogiri
      2. 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
  • [x] Bump 1.6.0
    • https://github.com/Faveod/ruby-tree-sitter/pull/71

stackmystack avatar Jul 04 '24 13:07 stackmystack