summaryrefslogtreecommitdiffhomepage
path: root/ci/check-rust.sh
blob: c50adbaf3f5cbf4e23f3275e28e5600a9c24fa60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash

set -eux

export RUSTFLAGS="--deny warnings"

# Excluding windows-installer because it builds an actual full installer
# at the build step, which is not desired in a CI environment.

# Build Rust crates
source env.sh
time cargo build --workspace --exclude windows-installer --locked --verbose

# Test Rust crates
time cargo test --workspace --exclude windows-installer --locked --verbose