From 3993c15c8a42a54ded824386da349134714e7a25 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 5 Dec 2019 21:32:42 +0900 Subject: Migrate JRuby tasks to GitHub Actions. --- .github/workflows/ubuntu-jruby.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/ubuntu-jruby.yml (limited to '.github') 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 -- cgit v1.2.3