Fixed #110
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: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- ruby: 3.2.4 | |
os: ubuntu-22.04 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- if: ${{ startsWith(matrix.os, 'ubuntu') }} | |
run: sudo apt-get install libblas-dev liblapack-dev | |
- if: ${{ startsWith(matrix.os, 'macos') }} | |
run: brew install openblas lapack libomp | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- run: MAKE="make -j$(nproc)" bundle exec rake compile | |
- run: bundle exec rake test |