2022-06-21 10:23:13 -05:00
|
|
|
set "RUSTFLAGS=-D warnings"
|
2022-06-21 18:28:04 -05:00
|
|
|
set "RUSTFMT_CI=1"
|
2022-06-21 10:23:13 -05:00
|
|
|
|
|
|
|
:: Print version information
|
|
|
|
rustc -Vv || exit /b 1
|
|
|
|
cargo -V || exit /b 1
|
|
|
|
|
|
|
|
:: Build and test main crate
|
2023-08-02 09:10:15 -05:00
|
|
|
if "%CFG_RELEASE_CHANNEL%"=="nightly" (
|
|
|
|
cargo build --locked --all-features || exit /b 1
|
|
|
|
) else (
|
|
|
|
cargo build --locked || exit /b 1
|
|
|
|
)
|
2022-06-21 10:23:13 -05:00
|
|
|
cargo test || exit /b 1
|
|
|
|
|
2024-07-20 02:54:03 -05:00
|
|
|
:: Build and test config_proc_macro
|
2022-06-21 10:23:13 -05:00
|
|
|
cd config_proc_macro || exit /b 1
|
|
|
|
cargo build --locked || exit /b 1
|
|
|
|
cargo test || exit /b 1
|
2024-07-20 02:54:03 -05:00
|
|
|
|
|
|
|
:: Build and test check_diff
|
|
|
|
cd ..
|
|
|
|
cd check_diff || exit /b 1
|
|
|
|
cargo build --locked || exit /b 1
|
|
|
|
cargo test || exit /b 1
|