Skip to content

Commit

Permalink
meta: Re-enable cargo checks (#208)
Browse files Browse the repository at this point in the history
Brings back `cargo check` as discussed here: 
#191 (comment) 
now that crate-ci/azure-pipelines#42 has landed.
  • Loading branch information
jonhoo authored and hawkw committed Jul 22, 2019
1 parent b30821e commit 32809be
Showing 1 changed file with 22 additions and 26 deletions.
48 changes: 22 additions & 26 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
stages:
# Blocked on https://github.com/crate-ci/azure-pipelines/pull/42
# See also https://github.com/tokio-rs/tracing/pull/191#issuecomment-513872071
# When we bring these back, add check as a dependency for the other stages
# - stage: check
# displayName: Compilation check
# dependsOn: []
# jobs:
# - template: azure/cargo-check.yml@templates
# parameters:
# name: cargo_check
# benches: true
# # This represents the minimum Rust version supported.
# # Tests are not run as tests may require newer versions of rust.
# - stage: msrv
# displayName: "Minimum supported Rust version"
# dependsOn: []
# jobs:
# - template: azure/cargo-check.yml@templates
# parameters:
# rust: 1.34.0
- stage: check
displayName: Compilation check
dependsOn: []
jobs:
- template: azure/cargo-check.yml@templates
parameters:
name: cargo_check
benches: true
all_features: false
# This represents the minimum Rust version supported.
# Tests are not run as tests may require newer versions of rust.
- stage: msrv
displayName: "Minimum supported Rust version"
dependsOn: check
jobs:
- template: azure/cargo-check.yml@templates
parameters:
rust: 1.34.0
all_features: false
- stage: custom
displayName: "Special tests"
# dependsOn: check
dependsOn: []
dependsOn: check
jobs:
- job: custom_stable
pool:
Expand Down Expand Up @@ -51,8 +49,7 @@ stages:
displayName: "Test std::future support for tracing-futures"
- stage: style
displayName: Style linting
# dependsOn: check
dependsOn: []
dependsOn: check
jobs:
- template: azure/rustfmt.yml@templates
parameters:
Expand All @@ -69,8 +66,7 @@ stages:
allow_fail: true
- stage: test
displayName: Test suite
# dependsOn: check
dependsOn: []
dependsOn: check
jobs:
- template: azure/tests.yml@templates
- stage: coverage
Expand Down

0 comments on commit 32809be

Please sign in to comment.