Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kojix2 committed Sep 7, 2024
1 parent c654a93 commit 710af98
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 27 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/main.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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 hdf5
- name: Run the default task
run: bundle exec rake

0 comments on commit 710af98

Please sign in to comment.