Skip to content

Commit

Permalink
Merge pull request #48 from osyo-manga/add-github_actions
Browse files Browse the repository at this point in the history
Add GitHub Actions for Windows and MacOS
  • Loading branch information
aycabta authored Aug 21, 2019
2 parents 613746c + 830a64d commit 1fb56e4
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: macos

on:
push:
branches:
- master
pull_request:
branches:
- '*'

jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@master
- name: Install dependencies
run: |
gem install bundler --no-document
bundle install
- name: Run test
run: |
rake ci-test
29 changes: 29 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: windows

on:
push:
branches:
- master
pull_request:
branches:
- '*'

jobs:
build:
runs-on: windows-latest
strategy:
matrix:
ruby: [ '2.6.x', '2.5.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 bundler --no-document
bundle install
- name: Run test
run: |
rake ci-test

0 comments on commit 1fb56e4

Please sign in to comment.