]> git.lizzy.rs Git - rust.git/blob - .azure-pipelines/try.yml
ci: Favor SCRIPT instead of RUST_CHECK_TARGET
[rust.git] / .azure-pipelines / try.yml
1 #
2 # Azure Pipelines "auto" branch build for Rust on Linux, macOS, and Windows.
3 #
4
5 pr: none
6 trigger:
7 - try
8
9 variables:
10 - group: prod-credentials
11
12 jobs:
13 - job: Linux
14   timeoutInMinutes: 600
15   pool:
16     vmImage: ubuntu-16.04
17   steps:
18   - template: steps/run.yml
19   strategy:
20     matrix:
21       dist-x86_64-linux:
22         IMAGE: dist-x86_64-linux
23         DEPLOY: 1
24
25       dist-x86_64-linux-alt:
26         IMAGE: dist-x86_64-linux
27         DEPLOY_ALT: 1
28
29 - job: macOS
30   timeoutInMinutes: 600
31   pool:
32     vmImage: macos-10.13
33   steps:
34   - template: steps/run.yml
35   strategy:
36     matrix:
37       dist-x86_64-apple:
38         SCRIPT: ./x.py dist
39         RUST_CONFIGURE_ARGS: --target=aarch64-apple-ios,armv7-apple-ios,armv7s-apple-ios,i386-apple-ios,x86_64-apple-ios --enable-full-tools --enable-sanitizers --enable-profiler --enable-lldb --set rust.jemalloc
40         DEPLOY: 1
41         RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
42         MACOSX_DEPLOYMENT_TARGET: 10.7
43         NO_LLVM_ASSERTIONS: 1
44         NO_DEBUG_ASSERTIONS: 1
45         DIST_REQUIRE_ALL_TOOLS: 1
46
47       dist-x86_64-apple-alt:
48         SCRIPT: ./x.py dist
49         RUST_CONFIGURE_ARGS: --enable-extended --enable-profiler --enable-lldb --set rust.jemalloc
50         DEPLOY_ALT: 1
51         RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
52         MACOSX_DEPLOYMENT_TARGET: 10.7
53         NO_LLVM_ASSERTIONS: 1
54         NO_DEBUG_ASSERTIONS: 1
55
56 - job: Windows
57   timeoutInMinutes: 600
58   pool:
59     vmImage: 'vs2017-win2016'
60   steps:
61   - template: steps/run.yml
62   strategy:
63     matrix:
64       dist-x86_64-msvc:
65         RUST_CONFIGURE_ARGS: >
66           --build=x86_64-pc-windows-msvc
67           --target=x86_64-pc-windows-msvc,aarch64-pc-windows-msvc
68           --enable-full-tools
69           --enable-profiler
70         SCRIPT: python x.py dist
71         DIST_REQUIRE_ALL_TOOLS: 1
72         DEPLOY: 1
73
74       dist-x86_64-msvc-alt:
75         MSYS_BITS: 64
76         RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-extended --enable-profiler
77         SCRIPT: python x.py dist
78         DEPLOY_ALT: 1