@@ -23,7 +23,11 @@ runners:
23
23
<< : *base-job
24
24
25
25
- &job-macos
26
- os : macos-14
26
+ os : macos-15
27
+ << : *base-job
28
+
29
+ - &job-macos-x86_64
30
+ os : macos-15-intel
27
31
<< : *base-job
28
32
29
33
- &job-windows
90
94
pr :
91
95
PR_CI_JOB : 1
92
96
97
+ env-macos-xcode : &env-macos-xcode
98
+ SELECT_XCODE : /Applications/Xcode_26.app
99
+ USE_XCODE_CLANG : 1
100
+
101
+ # Ensure that host tooling is tested on our minimum supported macOS
102
+ # version.
103
+ env-macos-x86_64-target : &env-macos-x86_64-target
104
+ MACOSX_DEPLOYMENT_TARGET : 10.12
105
+ MACOSX_STD_DEPLOYMENT_TARGET : 10.12
106
+
107
+ # Aarch64 tooling only needs to support macOS 11.0 as this is the
108
+ # first OS version to support the hardware.
109
+ env-macos-aarch64-target : &env-macos-aarch64-target
110
+ MACOSX_DEPLOYMENT_TARGET : 11.0
111
+ MACOSX_STD_DEPLOYMENT_TARGET : 11.0
112
+
93
113
jobs :
94
114
dist-x86_64-linux : &job-dist-x86_64-linux
95
115
name : dist-x86_64-linux
@@ -427,26 +447,45 @@ auto:
427
447
--set rust.jemalloc
428
448
--set rust.lto=thin
429
449
--set rust.codegen-units=1
430
- # Ensure that host tooling is built to support our minimum support macOS version.
431
- MACOSX_DEPLOYMENT_TARGET : 10.12
432
- MACOSX_STD_DEPLOYMENT_TARGET : 10.12
433
- SELECT_XCODE : /Applications/Xcode_15.4.app
434
- USE_XCODE_CLANG : 1
450
+ << : [*env-macos-x86_64-target, *env-macos-xcode]
435
451
DIST_REQUIRE_ALL_TOOLS : 1
436
452
CODEGEN_BACKENDS : llvm,cranelift
437
453
<< : *job-macos
438
454
455
+ - name : x86_64-apple
456
+ env :
457
+ SCRIPT : >-
458
+ ./x.py test
459
+ --stage 2
460
+ --host=x86_64-apple-darwin
461
+ --target=x86_64-apple-darwin
462
+ --set llvm.download-ci-llvm=false
463
+ &&
464
+ ./x.py test
465
+ --stage 2
466
+ --host=x86_64-apple-darwin
467
+ --target=x86_64-apple-darwin
468
+ src/tools/cargo
469
+ RUST_CONFIGURE_ARGS : >-
470
+ --enable-profiler
471
+ --enable-sanitizers
472
+ --set rust.jemalloc
473
+ # The x86_64 macOS builders are relatively slow, so we disable
474
+ # extra assertions/checks to get back a bit of speed.
475
+ NO_LLVM_ASSERTIONS : 1
476
+ NO_DEBUG_ASSERTIONS : 1
477
+ NO_OVERFLOW_CHECKS : 1
478
+ << : [*env-macos-x86_64-target, *env-macos-xcode]
479
+ << : *job-macos-x86_64
480
+
439
481
- name : dist-apple-various
440
482
env :
441
483
SCRIPT : ./x.py dist bootstrap --include-default-paths --host='' --target=aarch64-apple-ios,x86_64-apple-ios,aarch64-apple-ios-sim,aarch64-apple-ios-macabi,x86_64-apple-ios-macabi
442
484
# Mac Catalyst cannot currently compile the sanitizer:
443
485
# https://github.com/rust-lang/rust/issues/129069
444
486
RUST_CONFIGURE_ARGS : --enable-sanitizers --enable-profiler --set rust.jemalloc --set target.aarch64-apple-ios-macabi.sanitizers=false --set target.x86_64-apple-ios-macabi.sanitizers=false
445
- # Ensure that host tooling is built to support our minimum support macOS version.
446
- # FIXME(madsmtm): This might be redundant, as we're not building host tooling here (?)
447
- MACOSX_DEPLOYMENT_TARGET : 10.12
448
- MACOSX_STD_DEPLOYMENT_TARGET : 10.12
449
- SELECT_XCODE : /Applications/Xcode_15.2.app
487
+ # FIXME(madsmtm): Setting the target might be redundant, as we're not building host tooling here (?)
488
+ << : [*env-macos-x86_64-target, *env-macos-xcode]
450
489
<< : *job-macos
451
490
452
491
- name : dist-aarch64-apple
@@ -463,31 +502,29 @@ auto:
463
502
--set rust.jemalloc
464
503
--set rust.lto=thin
465
504
--set rust.codegen-units=1
466
- # Aarch64 tooling only needs to support macOS 11.0 and up as nothing else
467
- # supports the hardware.
468
- MACOSX_DEPLOYMENT_TARGET : 11.0
469
- MACOSX_STD_DEPLOYMENT_TARGET : 11.0
470
- SELECT_XCODE : /Applications/Xcode_15.4.app
471
- USE_XCODE_CLANG : 1
505
+ << : [*env-macos-aarch64-target, *env-macos-xcode]
472
506
DIST_REQUIRE_ALL_TOOLS : 1
473
507
CODEGEN_BACKENDS : llvm,cranelift
474
508
<< : *job-macos
475
509
476
510
- name : aarch64-apple
477
511
env :
478
- SCRIPT : >
479
- ./x.py --stage 2 test --host=aarch64-apple-darwin --target=aarch64-apple-darwin &&
480
- ./x.py --stage 2 test --host=aarch64-apple-darwin --target=aarch64-apple-darwin src/tools/cargo
512
+ SCRIPT : >-
513
+ ./x.py test
514
+ --stage 2
515
+ --host=aarch64-apple-darwin
516
+ --target=aarch64-apple-darwin
517
+ &&
518
+ ./x.py test
519
+ --stage 2
520
+ --host=aarch64-apple-darwin
521
+ --target=aarch64-apple-darwin
522
+ src/tools/cargo
481
523
RUST_CONFIGURE_ARGS : >-
482
524
--enable-sanitizers
483
525
--enable-profiler
484
526
--set rust.jemalloc
485
- SELECT_XCODE : /Applications/Xcode_15.4.app
486
- USE_XCODE_CLANG : 1
487
- # Aarch64 tooling only needs to support macOS 11.0 and up as nothing else
488
- # supports the hardware, so only need to test it there.
489
- MACOSX_DEPLOYMENT_TARGET : 11.0
490
- MACOSX_STD_DEPLOYMENT_TARGET : 11.0
527
+ << : [*env-macos-aarch64-target, *env-macos-xcode]
491
528
<< : *job-macos
492
529
493
530
# #####################
0 commit comments