Skip to content

Commit 95c55b2

Browse files
committed
DO NOT MERGE: test macOS on try
1 parent e30ddc1 commit 95c55b2

File tree

1 file changed

+33
-5
lines changed

1 file changed

+33
-5
lines changed

src/ci/azure-pipelines/try.yml

+33-5
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,45 @@ variables:
66
- group: prod-credentials
77

88
jobs:
9-
- job: Linux
9+
- job: macOS
1010
timeoutInMinutes: 600
1111
pool:
12-
vmImage: ubuntu-16.04
12+
vmImage: macos-10.15
1313
steps:
1414
- template: steps/run.yml
1515
strategy:
1616
matrix:
17-
dist-x86_64-linux: {}
18-
dist-x86_64-linux-alt:
19-
IMAGE: dist-x86_64-linux
17+
# OSX builders running tests, these run the full test suite.
18+
# NO_DEBUG_ASSERTIONS=1 to make them go faster, but also do have some
19+
# runners that run `//ignore-debug` tests.
20+
#
21+
# Note that the compiler is compiled to target 10.8 here because the Xcode
22+
# version that we're using, 8.2, cannot compile LLVM for OSX 10.7.
23+
x86_64-apple:
24+
SCRIPT: ./x.py test
25+
RUST_CONFIGURE_ARGS: --build=x86_64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc
26+
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
27+
MACOSX_DEPLOYMENT_TARGET: 10.8
28+
MACOSX_STD_DEPLOYMENT_TARGET: 10.7
29+
NO_LLVM_ASSERTIONS: 1
30+
NO_DEBUG_ASSERTIONS: 1
31+
32+
dist-x86_64-apple:
33+
SCRIPT: ./x.py dist
34+
RUST_CONFIGURE_ARGS: --target=aarch64-apple-ios,x86_64-apple-ios --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc
35+
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
36+
MACOSX_DEPLOYMENT_TARGET: 10.7
37+
NO_LLVM_ASSERTIONS: 1
38+
NO_DEBUG_ASSERTIONS: 1
39+
DIST_REQUIRE_ALL_TOOLS: 1
40+
41+
dist-x86_64-apple-alt:
42+
SCRIPT: ./x.py dist
43+
RUST_CONFIGURE_ARGS: --enable-extended --enable-profiler --set rust.jemalloc
44+
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
45+
MACOSX_DEPLOYMENT_TARGET: 10.7
46+
NO_LLVM_ASSERTIONS: 1
47+
NO_DEBUG_ASSERTIONS: 1
2048

2149
# The macOS and Windows builds here are currently disabled due to them not being
2250
# overly necessary on `try` builds. We also don't actually have anything that

0 commit comments

Comments
 (0)