Skip to content

Commit

Permalink
Merge pull request #320 from ruby/actions
Browse files Browse the repository at this point in the history
Enabled build matrix for GitHub Actions
  • Loading branch information
hsbt authored Aug 10, 2019
2 parents a232f02 + 116df91 commit 5fbaf6b
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 62 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: macos

on: [push]

jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@master
- name: Install dependencies
run: gem install minitest
- name: Run test
run: ruby -Ilib exe/rake
20 changes: 0 additions & 20 deletions .github/workflows/ruby.yml

This file was deleted.

20 changes: 20 additions & 0 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: ubuntu

on: [push]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [ '2.6.x', '2.5.x', '2.4.x', '2.3.x' ]
steps:
- uses: actions/checkout@master
- name: Set up Ruby
uses: actions/setup-ruby@v1
with:
version: ${{ matrix.ruby }}
- name: Install dependencies
run: gem install minitest
- name: Run test
run: ruby -Ilib exe/rake
20 changes: 20 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: windows

on: [push]

jobs:
build:
runs-on: windows-latest
strategy:
matrix:
ruby: [ '2.6.x', '2.5.x', '2.4.x' ]
steps:
- uses: actions/checkout@master
- name: Set up Ruby
uses: actions/setup-ruby@v1
with:
version: ${{ matrix.ruby }}
- name: Install dependencies
run: gem install minitest
- name: Run test
run: ruby -Ilib exe/rake
9 changes: 1 addition & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
language: ruby
rvm:
- 2.0.0
- 2.1.10
- 2.2.10
- 2.3.8
- 2.4.5
- 2.5.3
- 2.6.1
- ruby-head
- jruby-9.2.4.0
- jruby-head

matrix:
include:
- rvm: 2.5.3
- rvm: ruby-head
env: COVERALLS=yes

before_script:
Expand Down
23 changes: 0 additions & 23 deletions appveyor.yml

This file was deleted.

11 changes: 0 additions & 11 deletions azure-pipelines.yml

This file was deleted.

0 comments on commit 5fbaf6b

Please sign in to comment.