From 3bf61aae4fa6151060bdad11da34962d8936a71c Mon Sep 17 00:00:00 2001 From: Abhijit Gadgil Date: Wed, 8 Nov 2023 10:03:41 +0530 Subject: [PATCH] Updated GH action to run `--release` build and tests --- .github/actions/rust-build-test/action.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/actions/rust-build-test/action.yml b/.github/actions/rust-build-test/action.yml index 6048948..693f033 100644 --- a/.github/actions/rust-build-test/action.yml +++ b/.github/actions/rust-build-test/action.yml @@ -20,9 +20,13 @@ runs: rustc -Vv cargo -V cargo build --verbose + cargo build --release --verbose shell: bash - run: | rustc -Vv cargo -V - if [[ ${{ inputs.target }} == 'x86_64-unknown-linux-gnu' ]]; then cargo test --verbose; fi + if [[ ${{ inputs.target }} == 'x86_64-unknown-linux-gnu' ]]; then + cargo test --verbose; + cargo test --release --verbose + fi shell: bash