]> git.lizzy.rs Git - rust.git/blob - ci/build_and_test.sh
Add tests for issue 2534
[rust.git] / ci / build_and_test.sh
1 #!/bin/bash
2
3 set -euo pipefail
4
5 export RUSTFLAGS="-D warnings"
6 export RUSTFMT_CI=1
7
8 # Print version information
9 rustc -Vv
10 cargo -V
11
12 # Build and test main crate
13 cargo build --locked
14 cargo test
15
16 # Build and test other crates
17 cd config_proc_macro
18 cargo build --locked
19 cargo test