Skip to content

Commit 4226488

Browse files
committed
fix CI
1 parent 14c7b2e commit 4226488

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/workflows/c-cpp.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ jobs:
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

Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
@@ -140,7 +140,7 @@ end
140140
desc "run compiler tests with mruby/c VM"
141141
task :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
145145
end
146146

0 commit comments

Comments
 (0)