summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-12-05 21:32:42 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-12-05 21:32:42 +0900
commit3993c15c8a42a54ded824386da349134714e7a25 (patch)
treec291d195e4e3c4abab8b01486142a3fc8e9ccd7f /.github
parent2a06e8360e28e99c26f1645f476b76677ecebd55 (diff)
downloadpsych-3993c15c8a42a54ded824386da349134714e7a25.zip
Migrate JRuby tasks to GitHub Actions.
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