From ed200bfa2771a9c119294d04c92ea16253a7757a Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Fri, 19 Nov 2021 14:59:16 +1100 Subject: [PATCH] Test release builds on CI as well. --- .github/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7e94039..a3addbd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,12 +24,18 @@ jobs: rustup component add clippy rustup component add rustfmt - - name: Build + - name: Build (debug) run: cargo build --verbose - - name: Run tests + - name: Build (release) + run: cargo build --verbose --release + + - name: Run tests (debug) run: cargo test --verbose + - name: Run tests (release) + run: cargo test --verbose --release + - name: Check formatting run: cargo fmt -- --check