Skip to content

Commit

Permalink
test: disable **again** cross-compile tests
Browse files Browse the repository at this point in the history
They are very flaky now, and I can't seem to be able to put my finger
on the true cause.
  • Loading branch information
stackmystack committed Jan 15, 2025
1 parent 21ea56a commit be6dd3f
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/cross-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,30 @@ jobs:
run: just gem-cross
- name: download pre-compiled parsers
run: just dl-parsers linux-x64 # TODO: test on a mac?
- name: test cross-compiled gems
run: just gem-cross-test
# FIXME: I faced a lot of issues with gemstash while running the project
# with gemstash and bundler. It refuses to correctly recognize the ruby
# version. For instance, with ruby-version 3.3 I get this:
#
# Because every version of ruby_tree_sitter depends on Ruby >= 3.4, < 3.5.dev
# and Gemfile depends on ruby_tree_sitter = 1.11.0,
# Ruby >= 3.4, < 3.5.dev is required.
#
# Yes, I am running on a ruby 3.3 and getting complaints on ruby 3.4.
# But even before the release of 3.4, I got:
#
# Ruby >= 3.3, < 3.4.dev is required.
#
# So I decided to turn it off and maybe get back to it later.
# I looked at issues of bundler, nokogiri, gemstash, and rake-compiler-doc,
# and I couldn't find anyone complaining about this issue.
#
# Moreover, at one point, it started working again, and now it doesn't.
# So it's also very flaky.
#
# - name: test cross-compiled gems
# run: just gem-cross-test
# - name: test cross-compiled gems
# run: just gem-cross-test
- name: package platform-agnostic gem
run: |
rm -rf Gemfile.lock
Expand Down

0 comments on commit be6dd3f

Please sign in to comment.