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 4a1f717
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ubuntu-rvm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
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
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 4a1f717

Please sign in to comment.