Skip to content

Commit 3bc31fc

Browse files
committed
[GR-18163] Run MRI tests in GitHub Actions and run ruby/spec on CRuby 3.2
PullRequest: truffleruby/3887
2 parents 0d3058b + ce43877 commit 3bc31fc

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,12 +216,33 @@ jobs:
216216
# To catch slow :truffle specs which only apply to native
217217
- run: jt test fast :truffle
218218

219+
test_mri:
220+
name: run MRI tests on native
221+
needs: [build_native]
222+
runs-on: ubuntu-20.04
223+
steps:
224+
- name: Clone TruffleRuby
225+
uses: actions/checkout@v2
226+
- name: Setup system Ruby
227+
uses: ruby/setup-ruby@v1
228+
- name: Setup jt
229+
run: echo "SYSTEM_RUBY=$(which ruby)" >> $GITHUB_ENV && echo "$PWD/bin" >> $GITHUB_PATH
230+
231+
- uses: actions/download-artifact@v2
232+
with:
233+
name: truffleruby-native
234+
- uses: ./.github/actions/setup-truffleruby
235+
with:
236+
archive: truffleruby-native
237+
238+
- run: jt test mri --fast --no-sulong
239+
219240
ruby_spec_cruby:
220241
name: ruby/spec on CRuby ${{ matrix.ruby }}
221242
strategy:
222243
fail-fast: false
223244
matrix:
224-
ruby: ['3.0', '3.1']
245+
ruby: ['3.0', '3.1', '3.2']
225246
runs-on: ubuntu-latest
226247
steps:
227248
- uses: actions/checkout@v2

ci.jsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ local part_definitions = {
266266
darwin_aarch64: common.darwin_aarch64 + common_deps + {
267267
platform_name:: "DarwinAArch64",
268268
"$.cap":: {
269-
normal_machine: [],
269+
normal_machine: ["darwin_bigsur"],
270270
},
271271
environment+: {
272272
LANG: "en_US.UTF-8",

0 commit comments

Comments
 (0)