Skip to content

Commit

Permalink
Add TruffleRuby in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Sep 18, 2023
1 parent df71a48 commit b7637f8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,19 @@ on:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: [ head, truffleruby-head ]
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 'head'
ruby-version: ${{ matrix.ruby }}

- name: Run tests
run: ruby test/*_test.rb
run: ruby test/benchmarks_test.rb

- name: Test run_benchmarks.rb
run: ./run_benchmarks.rb
Expand All @@ -26,3 +30,4 @@ jobs:

- name: Test run_once.sh
run: ./run_once.sh --yjit-stats benchmarks/railsbench/benchmark.rb
if: matrix.ruby == 'head'

0 comments on commit b7637f8

Please sign in to comment.