Skip to content

openblas-src

openblas-src #52

Workflow file for this run

name: openblas-src
on:
push:
branches:
- master
pull_request: {}
workflow_dispatch: {}
jobs:
macos:
runs-on: macos-14
strategy:
fail-fast: false
matrix:
feature:
- ""
- static
steps:
- uses: actions/checkout@v4
with:
submodules: "recursive"
- name: Install OpenBLAS by homebrew
run: |
brew install openblas
if: ${{ contains(matrix.feature, 'system') }}
- name: Test features=${{ matrix.feature }}
run: cargo test --features=${{ matrix.feature }} --manifest-path=openblas-src/Cargo.toml
x86_64-unknown-linux-gnu:
runs-on: ubuntu-22.04
container:
image: rust
strategy:
fail-fast: false
matrix:
feature:
- ""
- static
steps:
- uses: actions/checkout@v4
with:
submodules: "recursive"
- name: Install gfortran by apt
run: |
apt update
- name: Install OpenBLAS by apt
run: |
apt update
apt install -y libopenblas-dev
if: ${{ contains(matrix.feature, 'system') }}
- name: Test features=${{ matrix.feature }}
run: cargo test --features=${{ matrix.feature }} --manifest-path=openblas-src/Cargo.toml
cross:
name: ${{matrix.target}} (${{matrix.feature}})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
feature:
- ""
- static
target:
- aarch64-unknown-linux-gnu
- armv7-unknown-linux-gnueabihf
steps:
- uses: actions/checkout@v4
- name: Install toolchain
uses: dtolnay/rust-toolchain@stable
with:
target: ${{matrix.target}}
- name: Install Cross
uses: taiki-e/install-action@v2
with:
tool: cross
- name: Test features=${{ matrix.feature }}
run: cross test --target ${{matrix.target}} --features=${{ matrix.feature }} --manifest-path=openblas-src/Cargo.toml