Add Windows to platforms for oj and yajl #55
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |