-
Notifications
You must be signed in to change notification settings - Fork 67
/
.azure-pipelines.yml
94 lines (90 loc) · 2.41 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
83
84
85
86
87
88
89
90
91
92
93
94
variables:
clippy_toolchain: 1.48.0
minimum_toolchain: 1.48.0
resources:
repositories:
- repository: templates
type: github
name: crate-ci/resources
endpoint: mesalink
jobs:
- job: native_build
strategy:
matrix:
x86_64_linux_xenial:
arch: 'x86_64_linux'
imageName: 'ubuntu-16.04'
x86_64_linux_bionic:
arch: 'x86_64_linux'
imageName: 'ubuntu-18.04'
x86_64_darwin_mojave:
arch: 'x86_64_darwin'
imageName: 'macos-10.14'
x86_64_darwin_catalina:
arch: 'x86_64_darwin'
imageName: 'macos-10.15'
x86_64_windows_msvc:
arch: 'x86_64_windows_msvc'
imageName: 'vs2017-win2016'
pool:
vmImage: $(imageName)
steps:
- template: ci/azure/rustup.yml
- template: ci/azure/native_build.yml
- template: ci/azure/pack.yml
- template: ci/azure/release.yml
- job: cross_build
pool:
vmImage: ubuntu-16.04
strategy:
matrix:
arm_linux:
rustup_target: 'arm-unknown-linux-gnueabi'
c_target: 'arm-linux-gnueabi'
arch: 'arm_linux'
aarch64_linux:
rustup_target: 'aarch64-unknown-linux-gnu'
c_target: 'aarch64-linux-gnu'
arch: 'aarch64_linux'
arm_android:
rustup_target: 'armv7-linux-androideabi'
c_target: 'arm-linux-androideabi'
arch: 'armv7_android'
aarch64_android:
rustup_target: 'aarch64-linux-android'
c_target: 'aarch64-linux-android'
arch: 'aarch64_android'
x86_64_android:
rustup_target: 'x86_64-linux-android'
c_target: 'x86_64-linux-android'
arch: 'x86_64_android'
x86_64_windows_mingw:
rustup_target: 'x86_64-pc-windows-gnu'
c_target: 'x86_64-windows-gnu'
arch: 'x86_64_windows_mingw'
steps:
- template: ci/azure/rustup.yml
parameters:
rustup_target: $(rustup_target)
- template: ci/azure/cross_build.yml
parameters:
c_target: $(c_target)
- template: ci/azure/pack.yml
- template: ci/azure/release.yml
- template: az-pipeline/unstable/rustfmt.yml@templates
- template: az-pipeline/unstable/clippy.yml@templates
parameters:
rustup_toolchain: ${{ variables.clippy_toolchain }}
- job: coverage
pool:
vmImage: ubuntu-16.04
steps:
- template: ci/azure/coverage.yml
trigger:
branches:
include:
- master
- develop
tags:
include:
- v*