Skip to content

Commit 0c38e27

Browse files
committed
Use GitHub Actions for CI
1 parent 7b1078f commit 0c38e27

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.github/workflows/ci.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: CI
2+
3+
on:
4+
- push
5+
6+
jobs:
7+
cruby:
8+
name: Test
9+
runs-on: ${{ matrix.os }}
10+
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
os:
15+
- ubuntu-latest
16+
- macos-latest
17+
- windows-latest
18+
ruby_version:
19+
- 3.0.0-preview2
20+
- 2.7
21+
- 2.6
22+
- 2.5
23+
- 2.4
24+
- debug
25+
26+
steps:
27+
- uses: actions/checkout@v2
28+
29+
- name: Setup Ruby
30+
uses: ruby/setup-ruby@v1
31+
with:
32+
ruby-version: ${{ matrix.ruby_version }}
33+
34+
- run: yes | gem update --system
35+
- run: gem install bundler
36+
- run: bundle install
37+
38+
- run: rake --trace compile
39+
40+
- run: rake build
41+
- run: gem install pkg/*gem
42+
43+
- run: rake test

0 commit comments

Comments
 (0)