Skip to content

Commit

Permalink
Merge d331ce3 into 04e4e45
Browse files Browse the repository at this point in the history
  • Loading branch information
kojix2 committed Sep 26, 2021
2 parents 04e4e45 + d331ce3 commit 6b95f1a
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/build.yml
Expand Up @@ -4,19 +4,28 @@ on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os: [ 'ubuntu', 'macos', 'windows' ]
ruby: [ '2.6', '2.7', '3.0' ]
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v2
- name: Install BLAS and LAPACK
run: sudo apt-get install -y libopenblas-dev liblapacke-dev
- name: Install BLAS and LAPACK (ubuntu)
if: runner.os == 'Linux'
run: sudo apt install -y libopenblas-dev liblapacke-dev
- name: Install BLAS and LAPACK (macos)
if: runner.os == 'macOS'
run: brew install openblas
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
# Windows: pacman will work after Ruby is set up
- name: Install BLAS and LAPACK (windows)
if: runner.os == 'Windows'
run: pacman -S --noconfirm mingw-w64-x86_64-openblas mingw-w64-x86_64-lapack
- name: Build and test with Rake
run: bundle exec rake

0 comments on commit 6b95f1a

Please sign in to comment.