Get started

This commit is contained in:
Benoit Daloze
2020-01-01 16:54:25 +01:00
parent a2c514c40d
commit 179e85affc
10 changed files with 133 additions and 195 deletions
+3 -2
View File
@@ -6,12 +6,13 @@ jobs:
fail-fast: false
matrix:
os: [ 'ubuntu-16.04', 'ubuntu-18.04', 'macos-latest' ]
ruby: [ 'ruby-2.6.5', 'ruby-2.7.0' ]
ruby: [ 'ruby-2.6.5', 'ruby-2.7.0', 'truffleruby-19.3.0', 'jruby-9.2.9.0' ]
runs-on: ${{ matrix.os }}
steps:
- run: echo ::set-env name=HOME::$HOME
- run: mkdir ~/.rubies
- run: wget -O ~/.rubies/${{ matrix.ruby }}-${{ matrix.os }}.tar.gz https://github.com/eregon/ruby-install-builder/releases/download/builds/${{ matrix.ruby }}-${{ matrix.os }}.tar.gz
- run: wget https://github.com/eregon/ruby-install-builder/releases/download/builds/${{ matrix.ruby }}-${{ matrix.os }}.tar.gz
working-directory: ${{ env.HOME }}/.rubies
- run: tar xf ${{ matrix.ruby }}-${{ matrix.os }}.tar.gz
working-directory: ${{ env.HOME }}/.rubies
- run: echo "::add-path::${{ env.HOME }}/.rubies/${{ matrix.ruby }}/bin"