Skip to content

Commit

Permalink
Jruby?
Browse files Browse the repository at this point in the history
  • Loading branch information
nateberkopec committed Sep 19, 2019
1 parent a23fde6 commit 18e73f3
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fail-fast: false
matrix:
os: [ 'ubuntu-16.04', 'ubuntu-18.04', 'macos', 'windows-latest' ]
ruby: [ '2.3.x', '2.4.x', '2.5.x', '2.6.x' ]
ruby: [ '2.3.x', '2.4.x', '2.5.x', '2.6.x', 'jruby' ]
exclude:
- os: ubuntu-16.04
ruby: 2.4.x
Expand Down Expand Up @@ -49,6 +49,16 @@ jobs:
else
sudo apt-get install ragel
fi
- name: install jruby
if: startsWith(matrix.ruby, 'jruby')
run: |
mkdir -p ~/jruby-bin
pushd ~/jruby-bin
curl -o- -L https://s3.amazonaws.com/jruby.org/downloads/9.2.8.0/jruby-bin-9.2.8.0.tar.gz | tar xzf - --strip-components=1
popd
export PATH="$HOME/jruby-bin/bin:$PATH"
- name: windows - update MSYS2, openssl, ragel
if: startsWith(matrix.os, 'windows')
uses: MSP-Greg/msys2-action@master
Expand Down

0 comments on commit 18e73f3

Please sign in to comment.