2022-06-21 10:23:13 -05:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -euo pipefail
|
|
|
|
|
|
|
|
export RUSTFLAGS="-D warnings"
|
2022-06-21 18:28:04 -05:00
|
|
|
export RUSTFMT_CI=1
|
2022-06-21 10:23:13 -05:00
|
|
|
|
|
|
|
# Print version information
|
|
|
|
rustc -Vv
|
|
|
|
cargo -V
|
|
|
|
|
|
|
|
# Build and test main crate
|
|
|
|
cargo build --locked
|
|
|
|
cargo test
|
|
|
|
|
|
|
|
# Build and test other crates
|
|
|
|
cd config_proc_macro
|
|
|
|
cargo build --locked
|
|
|
|
cargo test
|