t #7
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: test | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }}-latest | |
name: ${{ matrix.os }} ruby ${{ matrix.ruby }} | |
strategy: | |
matrix: | |
os: [ubuntu, macos] | |
ruby: [3.2, 3.3] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- if: matrix.os == 'ubuntu' | |
name: Install hdf5 | |
run: sudo apt-get install libhdf5-dev | |
- if: matrix.os == 'macos' | |
name: Install hdf5 | |
run: | | |
brew install [email protected] | |
brew ls [email protected] | |
- name: Run the default task | |
run: bundle exec rake |