Skip to content

Add TruffleRuby in CI #292

Add TruffleRuby in CI

Add TruffleRuby in CI #292

Workflow file for this run

name: Test benchmarks
on:
push:
branches:
- main
pull_request:
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: ${{ matrix.ruby }}
- name: Run tests
run: ruby test/benchmarks_test.rb
- name: Test run_benchmarks.rb
run: ./run_benchmarks.rb
env:
WARMUP_ITRS: '1'
MIN_BENCH_ITRS: '1'
MIN_BENCH_TIME: '0'
- name: Test run_once.sh
run: ./run_once.sh --yjit-stats benchmarks/railsbench/benchmark.rb
if: matrix.ruby == 'head'