Skip to content
Snippets Groups Projects
Commit 5a3e735e authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Try some tweaks to .gitlab-ci.yml

The "--all" flag is deprecated in favor of "--workspace", which
isn't actually needed here.

"--all-features" catches a few things that we want to make sure
we're catching.

Let's try out cargo doc and make sure that passes too.
parent 30ab1dc7
No related branches found
No related tags found
No related merge requests found
......@@ -9,11 +9,11 @@ rust-latest:
stage: build
image: rust:latest
script:
- cargo build --verbose --target x86_64-unknown-linux-gnu --all
- cargo test --verbose --all
- cargo build --verbose --target x86_64-unknown-linux-gnu
- cargo test --verbose
- rustup component add clippy rustfmt
- cargo clippy -- -D warnings
- cargo fmt --all -- --check
- cargo clippy --all-features -- -D warnings
- cargo fmt -- --check
rust-latest-async-std:
stage: build
......@@ -26,8 +26,9 @@ rust-nightly:
image: rustlang/rust:nightly
allow_failure: true
script:
- cargo build --verbose --target x86_64-unknown-linux-gnu --all
- cargo test --verbose --all
- cargo build --verbose --target x86_64-unknown-linux-gnu --all-features
- cargo test --verbose --all-features
- rustup component add clippy
- cargo clippy
- cargo clippy --all-features
- RUSTDOCFLAGS="-Dwarnings" cargo doc --all-features --document-private-items
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment