Skip to content

Add Windows to platforms for oj and yajl #51

Add Windows to platforms for oj and yajl

Add Windows to platforms for oj and yajl #51

Workflow file for this run

name: Ruby
on:
push:
branches: [main,master]
paths-ignore:
- '**/*.md'
pull_request:
branches: [main,master]
paths-ignore:
- '**/*.md'
workflow_dispatch:
jobs:
test:
strategy:
matrix:
ruby-version: ['3.0', '3.1', '3.2', 'jruby', 'truffleruby']
platform: [ubuntu-latest, macos-latest, windows-latest]
exclude:
- ruby-version: truffleruby
platform: windows-latest
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: false # Do not bundle install yet, need recent versions for Windows
- name: Run tests
run: |
gem install bundler
bundle install
bundle exec rake