]> git.proxmox.com Git - rustc.git/blame - src/ci/azure-pipelines/auto.yml
New upstream version 1.46.0+dfsg1
[rustc.git] / src / ci / azure-pipelines / auto.yml
CommitLineData
ba9703b0
XL
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
dc9dc135 12#
f9652781 13# Azure Pipelines "auto" branch build for Rust on macOS
dc9dc135
XL
14#
15
16pr: none
17trigger:
18 - auto
19
dc9dc135 20jobs:
dc9dc135
XL
21- job: macOS
22 timeoutInMinutes: 600
23 pool:
dfeec247 24 vmImage: macos-10.15
dc9dc135
XL
25 steps:
26 - template: steps/run.yml
f9652781
XL
27 variables:
28 # We're still uploading macOS builds from Azure Pipelines.
29 - group: prod-credentials
dc9dc135
XL
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
ba9703b0 40 INITIAL_RUST_CONFIGURE_ARGS: --build=x86_64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc
dc9dc135
XL
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
ba9703b0 49 INITIAL_RUST_CONFIGURE_ARGS: --target=aarch64-apple-ios,x86_64-apple-ios --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc
dc9dc135
XL
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
ba9703b0 58 INITIAL_RUST_CONFIGURE_ARGS: --enable-extended --enable-profiler --set rust.jemalloc
dc9dc135
XL
59 RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
60 MACOSX_DEPLOYMENT_TARGET: 10.7
61 NO_LLVM_ASSERTIONS: 1
62 NO_DEBUG_ASSERTIONS: 1