Skip to content

Commit

Permalink
Try to use rvm on GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Aug 10, 2019
1 parent 81c9ca2 commit e3c306c
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ubuntu-rvm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: ubuntu-rvm

on: [push]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [ 'jruby-head', 'jruby-9.2.4.0', 'ruby-head' ]
steps:
- uses: actions/checkout@master
- name: Set up RVM
run: |
curl -sSL https://get.rvm.io | bash
- name: Set up Ruby
run: |
source $HOME/.rvm/scripts/rvm
rvm install ${{ matrix.ruby }} --binary
rvm --default use ${{ matrix.ruby }}
- name: Install dependencies
run: |
source $HOME/.rvm/scripts/rvm
gem install minitest
- name: Run test
run: |
source $HOME/.rvm/scripts/rvm
ruby -Ilib exe/rake

0 comments on commit e3c306c

Please sign in to comment.