File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1414 steps :
1515 - uses : actions/checkout@v4
1616 with :
17- submodules : true
17+ submodules : recursive
18+ - name : Debug submodules
19+ run : |
20+ git submodule status
21+ git submodule foreach 'git status'
1822 - name : Install Ruby
1923 run : |
2024 sudo apt-get update
@@ -29,11 +33,11 @@ jobs:
2933 - name : Build PicoRuby
3034 run : rake
3135 - name : Test with mruby/c
32- run : build/repos/host /mruby-compiler2/test/helper/test.rb
36+ run : mrbgems /mruby-compiler2/test/helper/test.rb
3337 env :
3438 MRUBY_COMMAND : $PWD/bin/picoruby
3539 - name : Test with mruby
36- run : build/repos/host /mruby-compiler2/test/helper/test.rb
40+ run : mrbgems /mruby-compiler2/test/helper/test.rb
3741 env :
3842 USE_MRUBY : yes
3943 PICORBC_COMMAND : $PWD/bin/picorbc
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ task :test_compiler_with_mrubyVM => :debug do
131131 ENV [ 'PICORBC_COMMAND' ] = picorbcfile
132132 ENV [ 'MRUBY_COMMAND' ] ||= `RBENV_VERSION=mruby-3.3.0 rbenv which mruby` . chomp
133133 if ENV [ 'MRUBY_COMMAND' ] && ENV [ 'MRUBY_COMMAND' ] != ""
134- sh "build/repos/host /mruby-compiler2/test/helper/test.rb"
134+ sh "mrbgems /mruby-compiler2/test/helper/test.rb"
135135 else
136136 puts "[WARN] test_compiler_with_mrubyVM skipped because no mruby found"
137137 end
140140desc "run compiler tests with mruby/c VM"
141141task :test_compiler_with_mrubycVM => :debug do
142142 ENV [ 'MRUBY_COMMAND' ] = picorubyfile
143- sh "build/repos/host /mruby-compiler2/test/helper/test.rb"
143+ sh "mrbgems /mruby-compiler2/test/helper/test.rb"
144144 ENV [ 'MRUBY_COMMAND' ] = nil
145145end
146146
You can’t perform that action at this time.
0 commit comments