Skip to content

Fix #66 #67

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions azure/cargo-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ parameters:
rust: stable
benches: false
setup: []
no_features: true
all_features: false

jobs:
Expand Down Expand Up @@ -31,8 +32,9 @@ jobs:
displayName: Check that Cargo.lock is satisfiable
- script: cargo check --all --bins --examples --tests
displayName: Check compilation w/ default features
- script: cargo check --all --bins --examples --tests --no-default-features
displayName: Check compilation w/ no features
- ${{ if eq('true', parameters.no_features) }}:
- script: cargo check --all --bins --examples --tests --no-default-features
displayName: Check compilation w/ no features
- ${{ if eq('true', parameters.all_features) }}:
- script: cargo check --all --bins --examples --tests --all-features
displayName: Check compilation w/ all features
Expand Down
15 changes: 9 additions & 6 deletions azure/nightly-stages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ parameters:
setup: []
test_ignored: false
single_threaded: false
cross: false
check_all_features: true
check_no_features: true
test_features: []

stages:
Expand All @@ -25,6 +27,7 @@ stages:
benches: ${{ parameters.benches }}
setup: ${{ parameters.setup }}
all_features: ${{ parameters.check_all_features }}
no_features: ${{ parameters.check_no_features }}
rust: nightly
- stage: ${{ format('{0}test', parameters.prefix) }}
${{ if ne(parameters.prefix, '') }}:
Expand All @@ -39,6 +42,7 @@ stages:
rust: nightly
envs: ${{ parameters.envs }}
setup: ${{ parameters.setup }}
cross: ${{ parameters.cross }}
test_ignored: ${{ parameters.test_ignored }}
single_threaded: ${{ parameters.single_threaded }}
features: ${{ parameters.test_features }}
Expand All @@ -53,12 +57,11 @@ stages:
parameters:
name: rustfmt
rust: nightly
# disabled until we get https://github.com/rust-lang/rustup.rs/issues/2005
# - template: cargo-clippy.yml
# parameters:
# name: clippy
# setup: ${{ parameters.setup }}
# rust: nightly
- template: cargo-clippy.yml
parameters:
name: clippy
setup: ${{ parameters.setup }}
rust: nightly
- ${{ if ne('', parameters.codecov_token) }}:
- stage: ${{ format('{0}coverage', parameters.prefix) }}
${{ if ne(parameters.prefix, '') }}:
Expand Down