rust/ci/build_and_test.bat

15 lines
315 B
Batchfile
Executable File

set "RUSTFLAGS=-D warnings"
:: Print version information
rustc -Vv || exit /b 1
cargo -V || exit /b 1
:: Build and test main crate
cargo build --locked || exit /b 1
cargo test || exit /b 1
:: Build and test other crates
cd config_proc_macro || exit /b 1
cargo build --locked || exit /b 1
cargo test || exit /b 1