Skip to content

Add Windows and MacOS to CI #100

Add Windows and MacOS to CI

Add Windows and MacOS to CI #100

Workflow file for this run

name: Ruby
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
ruby: [ jruby-9.4.12.0, jruby-head ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up JRuby versions
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install MingW on Windows
if: ${{ matrix.os == 'windows-latest' }}
uses: egor-tensin/setup-mingw@v2
with:
platform: x64
- name: Build and test with rake
run: |
ruby -v
ruby extconf.rb
make
gem install rspec
rake spec