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 21, 2021
1 parent 793c9aa commit aac1536
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: build

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

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
ruby-version: [2.7.x, 2.6.x, 2.5.x, 2.4.x]

steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
- 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 aac1536

Please sign in to comment.