Skip to content

Commit 52f635b

Browse files
committed
Added GitHub Actions tests
1 parent 767cc2f commit 52f635b

File tree

3 files changed

+60
-0
lines changed

3 files changed

+60
-0
lines changed

.github/workflows/macos.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: macos
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: macos-latest
8+
strategy:
9+
matrix:
10+
ruby: [ 'head' ]
11+
steps:
12+
- uses: actions/checkout@master
13+
- name: Set up Ruby
14+
uses: ruby/setup-ruby@v1
15+
with:
16+
ruby-version: ${{ matrix.ruby }}
17+
- name: Set up Bundler
18+
run: gem install rake-compiler --no-document
19+
- name: Run test
20+
run: rake

.github/workflows/ubuntu.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: ubuntu
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
ruby: [ 'head' ]
11+
steps:
12+
- uses: actions/checkout@master
13+
- name: Set up Ruby
14+
uses: ruby/setup-ruby@v1
15+
with:
16+
ruby-version: ${{ matrix.ruby }}
17+
- name: Set up Bundler
18+
run: gem install rake-compiler --no-document
19+
- name: Run test
20+
run: rake

.github/workflows/windows.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: windows
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: windows-latest
8+
strategy:
9+
matrix:
10+
ruby: [ 'head' ]
11+
steps:
12+
- uses: actions/checkout@master
13+
- name: Set up Ruby
14+
uses: ruby/setup-ruby@v1
15+
with:
16+
ruby-version: ${{ matrix.ruby }}
17+
- name: Set up Bundler
18+
run: gem install rake-compiler --no-document
19+
- name: Run test
20+
run: rake

0 commit comments

Comments
 (0)