]> git.lizzy.rs Git - rust.git/blob - src/ci/azure-pipelines/auto.yml
Enable to ping RISC-V group via triagebot
[rust.git] / src / ci / azure-pipelines / auto.yml
1 #####################################
2 ##    READ BEFORE CHANGING THIS    ##
3 #####################################
4
5 # We're in the process of evaluating GitHub Actions as a possible replacement
6 # for Azure Pipelines, and at the moment the configuration is duplicated
7 # between the two CI providers. Be sure to also change the configuration in
8 # src/ci/github-actions when changing this file.
9
10 #####################################
11
12 #
13 # Azure Pipelines "auto" branch build for Rust on macOS
14 #
15
16 pr: none
17 trigger:
18   - auto
19
20 jobs:
21 - job: macOS
22   timeoutInMinutes: 600
23   pool:
24     vmImage: macos-10.15
25   steps:
26   - template: steps/run.yml
27   variables:
28     # We're still uploading macOS builds from Azure Pipelines.
29     - group: prod-credentials
30   strategy:
31     matrix:
32       # OSX builders running tests, these run the full test suite.
33       # NO_DEBUG_ASSERTIONS=1 to make them go faster, but also do have some
34       # runners that run `//ignore-debug` tests.
35       #
36       # Note that the compiler is compiled to target 10.8 here because the Xcode
37       # version that we're using, 8.2, cannot compile LLVM for OSX 10.7.
38       x86_64-apple:
39         SCRIPT: ./x.py test
40         INITIAL_RUST_CONFIGURE_ARGS: --build=x86_64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc
41         RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
42         MACOSX_DEPLOYMENT_TARGET: 10.8
43         MACOSX_STD_DEPLOYMENT_TARGET: 10.7
44         NO_LLVM_ASSERTIONS: 1
45         NO_DEBUG_ASSERTIONS: 1
46
47       dist-x86_64-apple:
48         SCRIPT: ./x.py dist
49         INITIAL_RUST_CONFIGURE_ARGS: --target=aarch64-apple-ios,x86_64-apple-ios --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc
50         RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
51         MACOSX_DEPLOYMENT_TARGET: 10.7
52         NO_LLVM_ASSERTIONS: 1
53         NO_DEBUG_ASSERTIONS: 1
54         DIST_REQUIRE_ALL_TOOLS: 1
55
56       dist-x86_64-apple-alt:
57         SCRIPT: ./x.py dist
58         INITIAL_RUST_CONFIGURE_ARGS: --enable-extended --enable-profiler --set rust.jemalloc
59         RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
60         MACOSX_DEPLOYMENT_TARGET: 10.7
61         NO_LLVM_ASSERTIONS: 1
62         NO_DEBUG_ASSERTIONS: 1