maint/check_toposort: Run in CI

This commit is contained in:
Ian Jackson 2022-06-08 18:27:30 +01:00
parent 7c1f0e15b1
commit 84d5845eb6
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,7 @@ rust-latest:
image: rust:latest
script:
- rustup show
- apt-get update && apt-get install -y python3-toml
- cargo build --locked --verbose --target x86_64-unknown-linux-gnu
- cargo test --verbose --target x86_64-unknown-linux-gnu
- rustup component add clippy rustfmt
@ -46,6 +47,7 @@ rust-latest:
- cp $CARGO_HOME/bin/cargo-audit .
- cp cargo-sort $CARGO_HOME/bin/ || cargo install cargo-sort
- ./maint/cargo_sort
- ./maint/check_toposort
- cp $CARGO_HOME/bin/cargo-sort .
- ./maint/add_warning --check crates/*/src/{lib,main}.rs
- cargo build --verbose --release -p arti-bench --target x86_64-unknown-linux-gnu