Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

update Inverse trait #121

update Inverse trait

update Inverse trait #121

Workflow file for this run

name: 🧪
on:
push:
branches:
- "**"
pull_request:
branches:
- main
merge_group:
jobs:
run-tests-rust:
name: Run Rust tests
runs-on: ubuntu-latest
strategy:
matrix:
rust-version: ["stable"]
mpi: ['mpich', 'openmpi']
feature-flags: ['']
steps:
- name: Set up Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: ${{ matrix.rust-version }}
components: rustfmt
- name: Set up MPI
uses: mpi4py/setup-mpi@v1
with:
mpi: ${{ matrix.mpi }}
- name: Install cargo-mpirun
run: cargo install cargo-mpirun
- uses: actions/checkout@v3
- name: Install LAPACK & OpenBLAS
run:
sudo apt-get install libopenblas-dev liblapack-dev
- name: Run unit tests
run: cargo test --lib ${{ matrix.feature-flags }}
- name: Run unit tests in release mode
run: cargo test --lib --release ${{ matrix.feature-flags }}
- name: Run tests
run: cargo test --examples --release ${{ matrix.feature-flags }}