1
1
#
2
- # Azure Pipelines "try " branch build for Rust
2
+ # Azure Pipelines "auto " branch build for Rust on Linux, macOS, and Windows.
3
3
#
4
4
5
5
pr : none
6
- trigger :
7
- - try
6
+ trigger :
7
+ - auto
8
8
9
9
variables :
10
10
- group : prod-credentials
11
11
12
12
jobs :
13
13
- job : Linux
14
- timeoutInMinutes : 600
15
14
pool :
16
15
vmImage : ubuntu-16.04
16
+ steps :
17
+ - template : steps/run.yml
17
18
strategy :
18
19
matrix :
20
+ x86_64-gnu-llvm-6.0 :
21
+ IMAGE : x86_64-gnu-llvm-6.0
22
+ RUST_BACKTRACE : 1
23
+
19
24
dist-x86_64-linux :
20
25
IMAGE : dist-x86_64-linux
21
26
DEPLOY : 1
22
27
dist-x86_64-linux-alt :
23
28
IMAGE : dist-x86_64-linux
24
29
DEPLOY_ALT : 1
25
- test-various :
26
- IMAGE : test-various
27
- steps :
28
- - template : steps/run.yml
30
+
31
+ arm-android :
32
+ IMAGE : arm-android
33
+
34
+ armhf-gnu :
35
+ IMAGE : armhf-gnu
36
+
37
+ dist-various-1 :
38
+ IMAGE : dist-various-1
39
+ DEPLOY : 1
40
+
41
+ dist-various-2 :
42
+ IMAGE : dist-various-2
43
+ DEPLOY : 1
44
+
45
+ dist-aarch64-linux :
46
+ IMAGE : dist-aarch64-linux
47
+ DEPLOY : 1
48
+
49
+ dist-android :
50
+ IMAGE : dist-android
51
+ DEPLOY : 1
52
+
53
+ dist-arm-linux :
54
+ IMAGE : dist-arm-linux
55
+ DEPLOY : 1
56
+
57
+ dist-armhf-linux :
58
+ IMAGE : dist-armhf-linux
59
+ DEPLOY : 1
60
+
61
+ dist-armv7-linux :
62
+ IMAGE : dist-armv7-linux
63
+ DEPLOY : 1
64
+
65
+ dist-i586-gnu-i586-i686-musl :
66
+ IMAGE : dist-i586-gnu-i586-i686-musl
67
+ DEPLOY : 1
68
+
69
+ dist-i686-freebsd :
70
+ IMAGE : dist-i686-freebsd
71
+ DEPLOY : 1
72
+
73
+ dist-i686-linux :
74
+ IMAGE : dist-i686-linux
75
+ DEPLOY : 1
76
+
77
+ dist-mips-linux :
78
+ IMAGE : dist-mips-linux
79
+ DEPLOY : 1
80
+
81
+ dist-mips64-linux :
82
+ IMAGE : dist-mips64-linux
83
+ DEPLOY : 1
84
+
85
+ dist-mips64el-linux :
86
+ IMAGE : dist-mips64el-linux
87
+ DEPLOY : 1
88
+
89
+ dist-mipsel-linux :
90
+ IMAGE : dist-mipsel-linux
91
+ DEPLOY : 1
92
+
93
+ dist-powerpc-linux :
94
+ IMAGE : dist-powerpc-linux
95
+ DEPLOY : 1
96
+
97
+ dist-powerpc64-linux :
98
+ IMAGE : dist-powerpc64-linux
99
+ DEPLOY : 1
100
+
101
+ dist-powerpc64le-linux :
102
+ IMAGE : dist-powerpc64le-linux
103
+ DEPLOY : 1
104
+
105
+ dist-s390x-linux :
106
+ IMAGE : dist-s390x-linux
107
+ DEPLOY : 1
108
+
109
+ dist-x86_64-freebsd :
110
+ IMAGE : dist-x86_64-freebsd
111
+ DEPLOY : 1
112
+
113
+ dist-x86_64-musl :
114
+ IMAGE : dist-x86_64-musl
115
+ DEPLOY : 1
116
+
117
+ dist-x86_64-netbsd :
118
+ IMAGE : dist-x86_64-netbsd
119
+ DEPLOY : 1
120
+
121
+ asmjs :
122
+ IMAGE : asmjs
123
+ i686-gnu :
124
+ IMAGE : i686-gnu
125
+ i686-gnu-nopt :
126
+ IMAGE : i686-gnu-nopt
127
+ test-various :
128
+ IMAGE : test-various
129
+ x86_64-gnu :
130
+ IMAGE : x86_64-gnu
131
+ x86_64-gnu-full-bootstrap :
132
+ IMAGE : x86_64-gnu-full-bootstrap
133
+ x86_64-gnu-aux :
134
+ IMAGE : x86_64-gnu-aux
135
+ x86_64-gnu-tools :
136
+ IMAGE : x86_64-gnu-tools
137
+ x86_64-gnu-debug :
138
+ IMAGE : x86_64-gnu-debug
139
+ x86_64-gnu-nopt :
140
+ IMAGE : x86_64-gnu-nopt
141
+ x86_64-gnu-distcheck :
142
+ IMAGE : x86_64-gnu-distcheck
143
+ mingw-check :
144
+ IMAGE : mingw-check
29
145
30
146
- job : macOS
31
- timeoutInMinutes : 600
32
147
pool :
33
148
vmImage : macos-10.13
149
+ steps :
150
+ - checkout : self
151
+ fetchDepth : 2
152
+ - template : steps/run.yml
34
153
strategy :
35
154
matrix :
155
+ # OSX builders running tests, these run the full test suite.
156
+ # NO_DEBUG_ASSERTIONS=1 to make them go faster, but also do have some
157
+ # runners that run `//ignore-debug` tests.
158
+ #
159
+ # Note that the compiler is compiled to target 10.8 here because the Xcode
160
+ # version that we're using, 8.2, cannot compile LLVM for OSX 10.7.
36
161
x86_64-apple :
37
162
RUST_CHECK_TARGET : check
38
163
RUST_CONFIGURE_ARGS : --build=x86_64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc
@@ -51,32 +176,169 @@ jobs:
51
176
NO_LLVM_ASSERTIONS : 1
52
177
NO_DEBUG_ASSERTIONS : 1
53
178
DIST_REQUIRE_ALL_TOOLS : 1
54
- steps :
55
- - template : steps/run.yml
179
+
180
+ dist-x86_64-apple-alt :
181
+ RUST_CHECK_TARGET : dist
182
+ RUST_CONFIGURE_ARGS : --enable-extended --enable-profiler --enable-lldb --set rust.jemalloc
183
+ DEPLOY_ALT : 1
184
+ RUSTC_RETRY_LINKER_ON_SEGFAULT : 1
185
+ MACOSX_DEPLOYMENT_TARGET : 10.7
186
+ NO_LLVM_ASSERTIONS : 1
187
+ NO_DEBUG_ASSERTIONS : 1
188
+
189
+ i686-apple :
190
+ RUST_CHECK_TARGET : check
191
+ RUST_CONFIGURE_ARGS : --build=i686-apple-darwin --set rust.jemalloc
192
+ RUSTC_RETRY_LINKER_ON_SEGFAULT : 1
193
+ MACOSX_DEPLOYMENT_TARGET : 10.8
194
+ MACOSX_STD_DEPLOYMENT_TARGET : 10.7
195
+ NO_LLVM_ASSERTIONS : 1
196
+ NO_DEBUG_ASSERTIONS : 1
197
+
198
+ dist-i686-apple :
199
+ RUST_CHECK_TARGET : dist
200
+ RUST_CONFIGURE_ARGS : --build=i686-apple-darwin --enable-full-tools --enable-profiler --enable-lldb --set rust.jemalloc
201
+ DEPLOY : 1
202
+ RUSTC_RETRY_LINKER_ON_SEGFAULT : 1
203
+ MACOSX_DEPLOYMENT_TARGET : 10.7
204
+ NO_LLVM_ASSERTIONS : 1
205
+ NO_DEBUG_ASSERTIONS : 1
206
+ DIST_REQUIRE_ALL_TOOLS : 1
207
+
208
+
56
209
57
210
- job : Windows
58
- timeoutInMinutes : 600
59
211
pool :
60
212
vmImage : ' vs2017-win2016'
213
+ steps :
214
+ - template : steps/run.yml
61
215
strategy :
62
216
matrix :
217
+ # 32/64 bit MSVC tests
63
218
x86_64-msvc-1 :
219
+ MSYS_BITS : 64
64
220
RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-msvc --enable-profiler
65
221
SCRIPT : make ci-subset-1
222
+ # FIXME(#59637)
66
223
NO_DEBUG_ASSERTIONS : 1
67
224
NO_LLVM_ASSERTIONS : 1
68
225
x86_64-msvc-2 :
226
+ MSYS_BITS : 64
69
227
RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-msvc --enable-profiler
70
228
SCRIPT : make ci-subset-2
229
+ i686-msvc-1 :
230
+ MSYS_BITS : 32
231
+ RUST_CONFIGURE_ARGS : --build=i686-pc-windows-msvc
232
+ SCRIPT : make ci-subset-1
233
+ i686-msvc-2 :
234
+ MSYS_BITS : 32
235
+ RUST_CONFIGURE_ARGS : --build=i686-pc-windows-msvc
236
+ SCRIPT : make ci-subset-2
237
+ # MSVC aux tests
238
+ x86_64-msvc-aux :
239
+ MSYS_BITS : 64
240
+ RUST_CHECK_TARGET : check-aux EXCLUDE_CARGO=1
241
+ RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-msvc
242
+ x86_64-msvc-cargo :
243
+ MSYS_BITS : 64
244
+ SCRIPT : python x.py test src/tools/cargotest src/tools/cargo
245
+ RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-msvc
246
+ VCVARS_BAT : vcvars64.bat
247
+ # MSVC tools tests
248
+ x86_64-msvc-tools :
249
+ MSYS_BITS : 64
250
+ SCRIPT : src/ci/docker/x86_64-gnu-tools/checktools.sh x.py /tmp/toolstates.json windows
251
+ RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-msvc --save-toolstates=/tmp/toolstates.json --enable-test-miri
252
+
253
+ # 32/64-bit MinGW builds.
254
+ #
255
+ # We are using MinGW with posix threads since LLVM does not compile with
256
+ # the win32 threads version due to missing support for C++'s std::thread.
257
+ #
258
+ # Instead of relying on the MinGW version installed on appveryor we download
259
+ # and install one ourselves so we won't be surprised by changes to appveyor's
260
+ # build image.
261
+ #
262
+ # Finally, note that the downloads below are all in the `rust-lang-ci` S3
263
+ # bucket, but they cleraly didn't originate there! The downloads originally
264
+ # came from the mingw-w64 SourceForge download site. Unfortunately
265
+ # SourceForge is notoriously flaky, so we mirror it on our own infrastructure.
266
+ i686-mingw-1 :
267
+ MSYS_BITS : 32
268
+ RUST_CONFIGURE_ARGS : --build=i686-pc-windows-gnu
269
+ SCRIPT : make ci-subset-1
270
+ MINGW_URL : https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror
271
+ MINGW_ARCHIVE : i686-6.3.0-release-posix-dwarf-rt_v5-rev2.7z
272
+ MINGW_DIR : mingw32
273
+ # FIXME(#59637)
274
+ NO_DEBUG_ASSERTIONS : 1
275
+ NO_LLVM_ASSERTIONS : 1
276
+ i686-mingw-2 :
277
+ MSYS_BITS : 32
278
+ RUST_CONFIGURE_ARGS : --build=i686-pc-windows-gnu
279
+ SCRIPT : make ci-subset-2
280
+ MINGW_URL : https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror
281
+ MINGW_ARCHIVE : i686-6.3.0-release-posix-dwarf-rt_v5-rev2.7z
282
+ MINGW_DIR : mingw32
283
+ x86_64-mingw-1 :
284
+ MSYS_BITS : 64
285
+ SCRIPT : make ci-subset-1
286
+ RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-gnu
287
+ MINGW_URL : https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror
288
+ MINGW_ARCHIVE : x86_64-6.3.0-release-posix-seh-rt_v5-rev2.7z
289
+ MINGW_DIR : mingw64
290
+ # FIXME(#59637)
291
+ NO_DEBUG_ASSERTIONS : 1
292
+ NO_LLVM_ASSERTIONS : 1
293
+ x86_64-mingw-2 :
294
+ MSYS_BITS : 64
295
+ SCRIPT : make ci-subset-2
296
+ RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-gnu
297
+ MINGW_URL : https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror
298
+ MINGW_ARCHIVE : x86_64-6.3.0-release-posix-seh-rt_v5-rev2.7z
299
+ MINGW_DIR : mingw64
71
300
72
- dist-x86_64-msvc :
301
+ # 32/64 bit MSVC and GNU deployment
302
+ dist-x86_64-msvc :
303
+ RUST_CONFIGURE_ARGS : >
304
+ --build=x86_64-pc-windows-msvc
305
+ --target=x86_64-pc-windows-msvc,aarch64-pc-windows-msvc
306
+ --enable-full-tools
307
+ --enable-profiler
308
+ SCRIPT : python x.py dist
309
+ DIST_REQUIRE_ALL_TOOLS : 1
310
+ DEPLOY : 1
311
+ dist-i686-msvc :
73
312
RUST_CONFIGURE_ARGS : >
74
- --build=x86_64 -pc-windows-msvc
75
- --target=x86_64-pc-windows-msvc,aarch64 -pc-windows-msvc
313
+ --build=i686 -pc-windows-msvc
314
+ --target=i586 -pc-windows-msvc
76
315
--enable-full-tools
77
316
--enable-profiler
78
317
SCRIPT : python x.py dist
79
318
DIST_REQUIRE_ALL_TOOLS : 1
80
319
DEPLOY : 1
81
- steps :
82
- - template : steps/run.yml
320
+ dist-i686-mingw :
321
+ MSYS_BITS : 32
322
+ RUST_CONFIGURE_ARGS : --build=i686-pc-windows-gnu --enable-full-tools
323
+ SCRIPT : python x.py dist
324
+ MINGW_URL : https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror
325
+ MINGW_ARCHIVE : i686-6.3.0-release-posix-dwarf-rt_v5-rev2.7z
326
+ MINGW_DIR : mingw32
327
+ DIST_REQUIRE_ALL_TOOLS : 1
328
+ DEPLOY : 1
329
+ dist-x86_64-mingw :
330
+ MSYS_BITS : 64
331
+ SCRIPT : python x.py dist
332
+ RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-gnu --enable-full-tools
333
+ MINGW_URL : https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror
334
+ MINGW_ARCHIVE : x86_64-6.3.0-release-posix-seh-rt_v5-rev2.7z
335
+ MINGW_DIR : mingw64
336
+ DIST_REQUIRE_ALL_TOOLS : 1
337
+ DEPLOY : 1
338
+
339
+ # "alternate" deployment, see .travis.yml for more info
340
+ dist-x86_64-msvc-alt :
341
+ MSYS_BITS : 64
342
+ RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-msvc --enable-extended --enable-profiler
343
+ SCRIPT : python x.py dist
344
+ DEPLOY_ALT : 1
0 commit comments