Try to clean up warnings on MacOS #457
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: Rice CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
ruby: ['3.0', '3.1', '3.2', '3.3'] | |
include: | |
- os: ubuntu-20.04 | |
ruby: '3.1' | |
- os: macos-13 | |
ruby: '3.0' | |
exclude: | |
# There's something wrong with this setup in GHA such that | |
# it gets weird linking errors, however I'm unable to reproduce | |
# locally so I think it's an infra fluke on GitHub's side. | |
- os: macos-latest | |
ruby: '3.1' | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- name: Configure | |
run: rake headers | |
- name: Build | |
run: rake build | |
- name: Test | |
run: rake test |