Skip to content

Commit

Permalink
Windows CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Sep 7, 2021
1 parent e7d9dac commit a482266
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
name: test

on: [push, pull_request]
on:
push:
pull_request:
schedule:
- cron: '15 3 * * *'

jobs:
build:
name: build (${{ matrix.ruby }} / ${{ matrix.os }})
strategy:
matrix:
ruby: [ 2.7, 2.6, 2.5, head ]
os: [ ubuntu-latest, macos-latest ]
ruby: [ head, '3.0', '2.7', '2.6', '2.5' ]
os: [ ubuntu-latest, macos-latest, windows-latest ]
exclude:
- { os: windows-latest , ruby: head }
include:
- { os: windows-latest , ruby: mingw }
- { os: windows-latest , ruby: mswin }
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand All @@ -18,5 +27,9 @@ jobs:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: bundle install
- name: Build
run: rake build
- name: Run test
run: rake test
- name: Installation test
run: gem install pkg/*.gem

0 comments on commit a482266

Please sign in to comment.