Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
51 lines (48 sloc) 1.32 KB
name: ubuntu-rvm
on: [push]
jobs:
ubuntu_rvm:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [ 'ruby-head', 'jruby-9.2.9.0' ]
test_tool: [ "rubygems", "bundler" ]
include:
- ruby: ruby-head
test_tool: bundler
bdv: master
exclude:
- ruby: ruby-head
test_tool: rubygems
- ruby: jruby-9.2.9.0
test_tool: bundler
steps:
- uses: actions/checkout@master
- run: git submodule update -i
- name: Fixed world writable dirs
run: |
chmod go-w $HOME
sudo chmod -R go-w /usr/share
sudo chmod -R go-w /opt
- 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
util/ci.sh before_script
env:
TEST_TOOL: ${{ matrix.test_tool }}
BDV: ${{ matrix.bdv }}
- name: Run test
run: |
source $HOME/.rvm/scripts/rvm
util/ci.sh script
env:
TEST_TOOL: ${{ matrix.test_tool }}
timeout-minutes: 60
You can’t perform that action at this time.