Skip to content

Commit 5509b63

Browse files
committed
GitHub Actions
1 parent bd3de9b commit 5509b63

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: build
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
name: build (${{ matrix.ruby }} / ${{ matrix.os }})
8+
strategy:
9+
matrix:
10+
ruby: [ 2.7, 2.6, 2.5, head ]
11+
os: [ ubuntu-latest, macos-latest ]
12+
runs-on: ${{ matrix.os }}
13+
steps:
14+
- uses: actions/checkout@master
15+
- name: Set up Ruby
16+
uses: ruby/setup-ruby@v1
17+
with:
18+
ruby-version: ${{ matrix.ruby }}
19+
- name: Install dependencies
20+
run: |
21+
gem install bundler --no-document
22+
bundle install
23+
- name: Run test
24+
run: rake compile test

0 commit comments

Comments
 (0)