Skip to content

Commit be6dd3f

Browse files
committed
test: disable **again** cross-compile tests
They are very flaky now, and I can't seem to be able to put my finger on the true cause.
1 parent 21ea56a commit be6dd3f

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

.github/workflows/cross-compile.yml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,30 @@ jobs:
2626
run: just gem-cross
2727
- name: download pre-compiled parsers
2828
run: just dl-parsers linux-x64 # TODO: test on a mac?
29-
- name: test cross-compiled gems
30-
run: just gem-cross-test
29+
# FIXME: I faced a lot of issues with gemstash while running the project
30+
# with gemstash and bundler. It refuses to correctly recognize the ruby
31+
# version. For instance, with ruby-version 3.3 I get this:
32+
#
33+
# Because every version of ruby_tree_sitter depends on Ruby >= 3.4, < 3.5.dev
34+
# and Gemfile depends on ruby_tree_sitter = 1.11.0,
35+
# Ruby >= 3.4, < 3.5.dev is required.
36+
#
37+
# Yes, I am running on a ruby 3.3 and getting complaints on ruby 3.4.
38+
# But even before the release of 3.4, I got:
39+
#
40+
# Ruby >= 3.3, < 3.4.dev is required.
41+
#
42+
# So I decided to turn it off and maybe get back to it later.
43+
# I looked at issues of bundler, nokogiri, gemstash, and rake-compiler-doc,
44+
# and I couldn't find anyone complaining about this issue.
45+
#
46+
# Moreover, at one point, it started working again, and now it doesn't.
47+
# So it's also very flaky.
48+
#
49+
# - name: test cross-compiled gems
50+
# run: just gem-cross-test
51+
# - name: test cross-compiled gems
52+
# run: just gem-cross-test
3153
- name: package platform-agnostic gem
3254
run: |
3355
rm -rf Gemfile.lock

0 commit comments

Comments
 (0)