Skip to content

Commit 5fbaf6b

Browse files
authored
Merge pull request #320 from ruby/actions
Enabled build matrix for GitHub Actions
2 parents a232f02 + 116df91 commit 5fbaf6b

File tree

7 files changed

+54
-62
lines changed

7 files changed

+54
-62
lines changed

.github/workflows/macos.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: macos
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: macos-latest
8+
steps:
9+
- uses: actions/checkout@master
10+
- name: Install dependencies
11+
run: gem install minitest
12+
- name: Run test
13+
run: ruby -Ilib exe/rake

.github/workflows/ruby.yml

-20
This file was deleted.

.github/workflows/ubuntu.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: ubuntu
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
ruby: [ '2.6.x', '2.5.x', '2.4.x', '2.3.x' ]
11+
steps:
12+
- uses: actions/checkout@master
13+
- name: Set up Ruby
14+
uses: actions/setup-ruby@v1
15+
with:
16+
version: ${{ matrix.ruby }}
17+
- name: Install dependencies
18+
run: gem install minitest
19+
- name: Run test
20+
run: ruby -Ilib exe/rake

.github/workflows/windows.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: windows
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: windows-latest
8+
strategy:
9+
matrix:
10+
ruby: [ '2.6.x', '2.5.x', '2.4.x' ]
11+
steps:
12+
- uses: actions/checkout@master
13+
- name: Set up Ruby
14+
uses: actions/setup-ruby@v1
15+
with:
16+
version: ${{ matrix.ruby }}
17+
- name: Install dependencies
18+
run: gem install minitest
19+
- name: Run test
20+
run: ruby -Ilib exe/rake

.travis.yml

+1-8
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
11
language: ruby
22
rvm:
3-
- 2.0.0
4-
- 2.1.10
5-
- 2.2.10
6-
- 2.3.8
7-
- 2.4.5
8-
- 2.5.3
9-
- 2.6.1
103
- ruby-head
114
- jruby-9.2.4.0
125
- jruby-head
136

147
matrix:
158
include:
16-
- rvm: 2.5.3
9+
- rvm: ruby-head
1710
env: COVERALLS=yes
1811

1912
before_script:

appveyor.yml

-23
This file was deleted.

azure-pipelines.yml

-11
This file was deleted.

0 commit comments

Comments
 (0)