Merge pull request #395 from berquist/update-dependencies #407
This file contains hidden or 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: openblas | |
on: | |
push: | |
branches: | |
- master | |
pull_request: {} | |
workflow_dispatch: | |
jobs: | |
linux: | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
feature: | |
- static | |
- system | |
steps: | |
- uses: actions/checkout@v4 | |
- name: apt install gfortran | |
run: | | |
sudo apt update | |
sudo apt install -y gfortran | |
- name: Install OpenBLAS by apt | |
run: | | |
sudo apt update | |
sudo apt install -y libopenblas-dev | |
if: ${{ contains(matrix.feature, 'system') }} | |
- name: cargo test | |
run: cargo test --manifest-path=ndarray-linalg/Cargo.toml --no-default-features --features=openblas-${{ matrix.feature }} |