-
Notifications
You must be signed in to change notification settings - Fork 44
/
azure-pipelines.yml
82 lines (73 loc) · 1.92 KB
/
azure-pipelines.yml
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
trigger:
- master
jobs:
# - job: min
# displayName: Minimum Rust
# steps:
# - template: ci/azure-install-rust.yml
# parameters:
# toolchain: 1.33.0
# - script: cargo build
- job: Linux
pool:
vmImage: ubuntu-18.04
steps:
- template: ci/azure-steps.yml
strategy:
matrix:
x86_64:
TARGET: x86_64-unknown-linux-gnu
i686:
TARGET: i686-unknown-linux-gnu
# Disable beta and nightly build
# x86_64-beta:
# TARGET: x86_64-unknown-linux-gnu
# TOOLCHAIN: beta
# x86_64-nightly:
# TARGET: x86_64-unknown-linux-gnu
# TOOLCHAIN: nightly
- job: macOS
pool:
vmImage: macos-10.14
steps:
- template: ci/azure-steps.yml
strategy:
matrix:
x86_64:
TARGET: x86_64-apple-darwin
# Disable iOS build
# aarch64-ios:
# TARGET: aarch64-apple-ios
# NO_RUN: --no-run
- job: Windows_vs2019
pool:
vmImage: windows-2019
steps:
- template: ci/azure-steps.yml
strategy:
matrix:
x86_64-msvc:
TARGET: x86_64-pc-windows-msvc
# - job: Windows_vs2017
# pool:
# vmImage: vs2017-win2016
# steps:
# - template: ci/azure-steps.yml
# strategy:
# matrix:
# x86_64-msvc:
# TARGET: x86_64-pc-windows-msvc
# i686-msvc:
# TARGET: i686-pc-windows-msvc
# x86_64-gnu:
# TARGET: x86_64-pc-windows-gnu
# i686-gnu:
# TARGET: i686-pc-windows-gnu
# - job: docs
# steps:
# - template: ci/azure-install-rust.yml
# - script: cargo doc --no-deps --all-features
# - script: curl -LsSf https://git.io/fhJ8n | rustc - && (cd target/doc && ../../rust_out)
# condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
# env:
# GITHUB_DEPLOY_KEY: $(GITHUB_DEPLOY_KEY)