Skip to content

Commit

Permalink
GitHub Actions build action added
Browse files Browse the repository at this point in the history
Signed-off-by: Ihor Dvoretskyi <ihor@linux.com>
  • Loading branch information
idvoretskyi committed Jan 27, 2021
1 parent 793c9aa commit e6e00a1
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: build

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
ruby-version: [2.7, 2.6, 2.5]
fail-fast: false

steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ martix.ruby-version }}
- name: Install addons
run: sudo apt-get install libgmp3-dev libcap-ng-dev
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rake test TESTOPTS=-v

0 comments on commit e6e00a1

Please sign in to comment.