Skip to content

Commit

Permalink
add build steps to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mscroggs committed Nov 1, 2023
1 parent d09f4a4 commit 3be15e7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,21 @@ jobs:
with:
prefix-key: bempp-rs-${{ matrix.rust-version }}-${{ matrix.mpi }}

- name: Build Bempp-rs
run: cargo build --lib --features "mpi,strict"
- name: Build Bempp-rs (release mode)
run: cargo build --lib --release --features "mpi,strict"

- name: Style checks
run: |
cargo fmt -- --check
cargo clippy -- -D warnings
cargo clippy --tests -- -D warnings
cargo clippy --examples -- -D warnings
- name: Run unit tests (with mpi enabled)
- name: Run unit tests
run: cargo test --lib --features "mpi,strict"
- name: Run unit tests (release with mpi enabled)
- name: Run unit tests (release mode)
run: cargo test --lib --release --features "mpi,strict"
- name: Run tests
run: cargo test --examples --release --features "mpi,strict"
Expand Down

0 comments on commit 3be15e7

Please sign in to comment.