summaryrefslogtreecommitdiffstats
path: root/third_party/rust/mio/azure-pipelines.yml
blob: 444a67ebfbfdff99a370ae6d6cf8454bb34b11ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
trigger: ["master", "v0.6.x"]
pr: ["master", "v0.6.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

# Nightly
- template: ci/azure-test-stable.yml
  parameters:
    name: nightly
    displayName: Nightly
    # Pin nightly to avoid being impacted by breakage
    rust_version: nightly-2019-11-17
    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.18.0
    cmd: check
    cross: true

- template: ci/azure-cross-compile.yml
  parameters:
    name: cross

- template: ci/azure-deploy-docs.yml
  parameters:
    dependsOn:
      # - rustfmt
      - stable
      - nightly
      - minrust
      - cross