@@ -6,17 +6,45 @@ variables:
6
6
- group : prod-credentials
7
7
8
8
jobs :
9
- - job : Linux
9
+ - job : macOS
10
10
timeoutInMinutes : 600
11
11
pool :
12
- vmImage : ubuntu-16.04
12
+ vmImage : macos-10.15
13
13
steps :
14
14
- template : steps/run.yml
15
15
strategy :
16
16
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
20
48
21
49
# The macOS and Windows builds here are currently disabled due to them not being
22
50
# overly necessary on `try` builds. We also don't actually have anything that
0 commit comments