Skip to content

Commit

Permalink
Add GitHub Actions in Windows and MacOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
osyo-manga committed Aug 19, 2019
1 parent 613746c commit 261d93a
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', '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 bundler --no-document
bundle install
- name: Run test
run: |
rake ci-test

0 comments on commit 261d93a

Please sign in to comment.