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

on: [push, pull_request]

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        ruby: [ ruby-head, 2.7, 2.6, 2.5, 2.4 ]
    steps:
      - name: Install libraries
        run: sudo apt install haveged
      - uses: actions/checkout@v2
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
      - name: Install dependencies
        run: bundle install
      - name: Run test
        run: rake
      - name: Install gem
        run: rake install