blob: 7e3a9043066152e29df5bf5c894036d1f3affe9d [file] [log] [blame]
trigger: ["master", "v0.6.x", "v0.7.x"]
pr: ["master", "v0.6.x", "v0.7.x"]
jobs:
# Check formatting
- template: ci/azure-rustfmt.yml
parameters:
name: rustfmt
# Stable
- template: ci/azure-test-stable.yml
parameters:
name: stable
displayName: Test
cross: true
# Stable --release
- template: ci/azure-test-stable.yml
parameters:
name: stable_release
displayName: Test --release
cmd: test --release
# Nightly
- template: ci/azure-test-stable.yml
parameters:
name: nightly
displayName: Nightly
# Pin nightly to avoid being impacted by breakage
rust_version: nightly-2020-03-24
benches: true
# This represents the minimum Rust version supported by
# Mio. Updating this should be done in a dedicated PR.
#
# Tests are not run as tests may require newer versions of
# rust.
- template: ci/azure-test-stable.yml
parameters:
name: minrust
displayName: Min Rust
rust_version: 1.46.0
cmd: check
cross: true
- template: ci/azure-minimal-versions.yml
parameters:
name: minimal_versions
- template: ci/azure-clippy.yml
parameters:
name: clippy
- template: ci/azure-cross-compile.yml
parameters:
name: cross
- template: ci/azure-deploy-docs.yml
parameters:
dependsOn:
# - rustfmt
- stable
- nightly
- minrust
- cross