Skip to content

Commit

Permalink
CI: Disable cargo check step
Browse files Browse the repository at this point in the history
Takes a lot of time on the relatively slow GitHub actions runners.
  • Loading branch information
thedataking committed Nov 30, 2023
1 parent ba4b1f5 commit 27b14d8
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,6 @@ jobs:
export RUSTDOCFLAGS="-D warnings"
cargo fmt --check
displayName: 'cargo fmt --check'
- script: |
export PATH="/home/docker/.cargo/bin:$PATH"
export RUSTUP_HOME=/home/docker/.rustup
export CARGO_HOME=$AGENT_TEMPDIRECTORY/.cargo
export RUSTFLAGS="-D warnings"
export RUSTDOCFLAGS="-D warnings"
# Differs from `cargo build` since we can use `--all-features` here.
# We plan to eventually replace `cargo check` with `cargo clippy`.
cargo check --tests --all-features
displayName: 'cargo check'
- script: |
export PATH="/home/docker/.cargo/bin:$PATH"
Expand Down Expand Up @@ -88,7 +77,7 @@ jobs:
export RUSTDOCFLAGS="-D warnings"
cargo test --release --workspace
displayName: 'cargo test'
- script: |
export PATH="/home/docker/.cargo/bin:$PATH"
export RUSTUP_HOME=/home/docker/.rustup
Expand Down Expand Up @@ -121,15 +110,6 @@ jobs:
source $HOME/.cargo/env
brew info llvm
displayName: 'Provision macOS'
- script: |
export LLVM_CONFIG_PATH=$(brew --prefix llvm)/bin/llvm-config
export RUSTFLAGS="-D warnings"
export RUSTDOCFLAGS="-D warnings"
# Differs from `cargo build` since we can use `--all-features` here.
# We plan to eventually replace `cargo check` with `cargo clippy`.
cargo check --tests --all-features
displayName: 'cargo check'
- script: |
export LLVM_CONFIG_PATH=$(brew --prefix llvm)/bin/llvm-config
Expand Down

0 comments on commit 27b14d8

Please sign in to comment.