Skip to content

Commit

Permalink
Add benchmark job
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkn committed Dec 28, 2020
1 parent e26995e commit 751fd89
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Benchmarking

on:
- push
- pull_request

jobs:
host:
name: ${{ matrix.os }} ${{ matrix.ruby }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-10.15
- windows-latest
ruby:
- 3.0
- 2.7
- head
include:
- { os: windows-latest , ruby: mingw }
- { os: windows-latest , ruby: mswin }
exclude:
- { os: windows-latest , ruby: 3.0 }
- { os: windows-latest , ruby: debug }

steps:
- uses: actions/checkout@v2

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}

- name: Install dependencies
run: |
bundle install
gem install bigdecimal -v 3.0.0
rake install
- run: rake benchmark

0 comments on commit 751fd89

Please sign in to comment.