jobs:
- template: default.yml@templates
parameters:
minrust: 1.36.0 codecov_token: $(CODECOV_TOKEN_SECRET)
- job: no_std
dependsOn: []
displayName: "Compile-check on no_std target"
pool:
vmImage: ubuntu-latest
steps:
- template: install-rust.yml@templates
parameters:
rust: nightly
targets:
- thumbv7m-none-eabi
- bash: cargo check --target thumbv7m-none-eabi
displayName: cargo check --target thumbv7m-none-eabi
- job: features
displayName: "Check feature combinations"
pool:
vmImage: ubuntu-latest
steps:
- template: install-rust.yml@templates
parameters:
rust: stable
- script: cargo install cargo-hack
displayName: install cargo-hack
- script: cargo hack --feature-powerset check
displayName: cargo hack
resources:
repositories:
- repository: templates
type: github
name: crate-ci/azure-pipelines
ref: refs/heads/v0.4
endpoint: jonhoo