Skip to content

Commit 55108b3

Browse files
committed
Run a full build on try temporarily
1 parent ebdc36e commit 55108b3

File tree

1 file changed

+279
-17
lines changed

1 file changed

+279
-17
lines changed

.azure-pipelines/try.yml

Lines changed: 279 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,163 @@
11
#
2-
# Azure Pipelines "try" branch build for Rust
2+
# Azure Pipelines "auto" branch build for Rust on Linux, macOS, and Windows.
33
#
44

55
pr: none
6-
trigger:
7-
- try
6+
trigger:
7+
- auto
88

99
variables:
1010
- group: prod-credentials
1111

1212
jobs:
1313
- job: Linux
14-
timeoutInMinutes: 600
1514
pool:
1615
vmImage: ubuntu-16.04
16+
steps:
17+
- template: steps/run.yml
1718
strategy:
1819
matrix:
20+
x86_64-gnu-llvm-6.0:
21+
IMAGE: x86_64-gnu-llvm-6.0
22+
RUST_BACKTRACE: 1
23+
1924
dist-x86_64-linux:
2025
IMAGE: dist-x86_64-linux
2126
DEPLOY: 1
2227
dist-x86_64-linux-alt:
2328
IMAGE: dist-x86_64-linux
2429
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
29145

30146
- job: macOS
31-
timeoutInMinutes: 600
32147
pool:
33148
vmImage: macos-10.13
149+
steps:
150+
- checkout: self
151+
fetchDepth: 2
152+
- template: steps/run.yml
34153
strategy:
35154
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.
36161
x86_64-apple:
37162
RUST_CHECK_TARGET: check
38163
RUST_CONFIGURE_ARGS: --build=x86_64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc
@@ -51,32 +176,169 @@ jobs:
51176
NO_LLVM_ASSERTIONS: 1
52177
NO_DEBUG_ASSERTIONS: 1
53178
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+
56209

57210
- job: Windows
58-
timeoutInMinutes: 600
59211
pool:
60212
vmImage: 'vs2017-win2016'
213+
steps:
214+
- template: steps/run.yml
61215
strategy:
62216
matrix:
217+
# 32/64 bit MSVC tests
63218
x86_64-msvc-1:
219+
MSYS_BITS: 64
64220
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-profiler
65221
SCRIPT: make ci-subset-1
222+
# FIXME(#59637)
66223
NO_DEBUG_ASSERTIONS: 1
67224
NO_LLVM_ASSERTIONS: 1
68225
x86_64-msvc-2:
226+
MSYS_BITS: 64
69227
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-profiler
70228
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
71300

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:
73312
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
76315
--enable-full-tools
77316
--enable-profiler
78317
SCRIPT: python x.py dist
79318
DIST_REQUIRE_ALL_TOOLS: 1
80319
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

Comments
 (0)