Skip to content

Add Windows to platforms for oj and yajl #55

Add Windows to platforms for oj and yajl

Add Windows to platforms for oj and yajl #55

Workflow file for this run

name: Ruby
on:
push:
branches: [main, master] # TODO: rename and get rid of 'master'
paths-ignore:
- '**/*.md'
pull_request:
branches: [main, master] # TODO: rename and get rid of 'master'
paths-ignore:
- '**/*.md'
workflow_dispatch:
jobs:
test:
strategy:
matrix:
ruby-version: ['3.0', '3.1', '3.2', 'jruby']
platform: [ubuntu-latest, macos-latest, 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