Merge branch 'ci-rustup-show' into 'main'

CI: Add "rustup show" to show compiler versions in logs

See merge request tpo/core/arti!276
This commit is contained in:
eta 2022-01-31 18:33:22 +00:00
commit a71ab72bf2
1 changed files with 4 additions and 0 deletions

View File

@ -16,9 +16,11 @@ rust-latest:
stage: build
image: rust:latest
script:
- rustup show
- cargo build --verbose --target x86_64-unknown-linux-gnu
- cargo test --verbose --target x86_64-unknown-linux-gnu
- rustup component add clippy rustfmt
- rustup show
- cargo clippy --all-features --all-targets -- -D warnings
- cargo fmt -- --check
- cp cargo-audit $CARGO_HOME/bin/ || cargo install cargo-audit
@ -38,6 +40,7 @@ rust-latest-async-std-rustls:
stage: build
image: rust:latest
script:
- rustup show
- rustup component add clippy
- cd crates/arti-client && cargo clippy --no-default-features --features=async-std,rustls
tags:
@ -48,6 +51,7 @@ rust-nightly:
image: rustlang/rust:nightly
allow_failure: true
script:
- rustup show
- cargo build --verbose --target x86_64-unknown-linux-gnu --all-features
- cargo test --verbose --target x86_64-unknown-linux-gnu --all-features
- rustup component add clippy