Skip to content

Commit

Permalink
Updated GH action to run --release build and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gabhijit committed Nov 8, 2023
1 parent b14c935 commit 3bf61aa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/actions/rust-build-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3bf61aa

Please sign in to comment.