summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ubuntu-jruby.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.github/workflows/ubuntu-jruby.yml b/.github/workflows/ubuntu-jruby.yml
new file mode 100644
index 0000000..d39b624
--- /dev/null
+++ b/.github/workflows/ubuntu-jruby.yml
@@ -0,0 +1,32 @@
+name: ubuntu-jruby
+
+on: [push, pull_request]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ ruby: [ 'jruby-9.2.9.0', 'jruby-head' ]
+ steps:
+ - name: Install libraries
+ run: sudo apt install haveged
+ - 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 bundler --no-document
+ bundle install
+ - name: Run test
+ run: |
+ source $HOME/.rvm/scripts/rvm
+ rake
+ continue-on-error: true