Skip to content

revising readme installation instructions #2

revising readme installation instructions

revising readme installation instructions #2

Workflow file for this run

name: Rust Tests
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
jobs:
test:
name: Run Cargo Tests
runs-on: ubuntu-latest
steps:
# Checkout the code from the repository
- name: Checkout Code
uses: actions/checkout@v3
# Install OpenMPI
- name: Install OpenMPI
run: sudo apt-get update && sudo apt-get install -y libopenmpi-dev openmpi-bin
# Set up Rust
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
# Cache Cargo dependencies
- name: Cache Cargo Dependencies
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
# Run cargo test
- name: Run Tests
run: cargo test --all --verbose