summaryrefslogtreecommitdiff
path: root/.github/workflows/ubuntu-jruby.yml
blob: 7fadea26593100505c97d16a84c26ade7d6cb85d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: ubuntu-jruby

on: [push, pull_request]

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        ruby: [ jruby, jruby-head ]
    steps:
      - uses: actions/checkout@v3
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
      - name: Install dependencies
        run: bundle install --jobs 1
      - name: compile
        run: bundle exec rake compile
      - name: test
        run: bundle exec rake test