Update partition_network.rs script. We will run it on the head node b… #455
This file contains 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: Rust | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install other libraries | |
run: sudo apt -y install libclang-dev llvm-dev libmetis-dev libopenmpi-dev | |
- name: Build | |
run: cargo build --release | |
- name: Install mpirun | |
run: cargo install --force cargo-mpirun | |
- name: Run tests | |
env: | |
RUST_BACKTRACE: 1 | |
run: cargo test --release --verbose -- --test-threads=1 |