Scripting tweaks (#138)

- No need to build with coverage by default on linux platforms
- Will add coverage formally in CI later
- Rename rust.yml to pr.yml

Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
This commit is contained in:
Anand Krishnamoorthi
2024-02-08 16:24:40 -08:00
committed by GitHub
parent bb1b25ff2f
commit 5044d54d18
6 changed files with 3 additions and 105 deletions

View File

@@ -6,7 +6,7 @@ set -eo pipefail
if [ -f Cargo.toml ]; then
# Ensure that all targets can be built.
cargo build --all-targets
cargo build -r --all-targets
#Ensure that code is correctly formatted.
cargo fmt --check || (echo "Run cargo fmt to fix formatting" && exit 1)