From 3be15e78fa0decf5f9d8b9aba672216c41ee0004 Mon Sep 17 00:00:00 2001 From: Matthew Scroggs Date: Wed, 1 Nov 2023 08:13:59 +0000 Subject: [PATCH] add build steps to CI --- .github/workflows/run-tests.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 1cb9ba37..b4470667 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -38,6 +38,11 @@ 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 @@ -45,9 +50,9 @@ jobs: 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"