@@ -26,6 +26,10 @@ runners:
2626 os : macos-15 # macOS 15 Arm64
2727 << : *base-job
2828
29+ - &job-macos-x86_64
30+ os : macos-15-intel
31+ << : *base-job
32+
2933 - &job-windows
3034 os : windows-2025
3135 << : *base-job
9094 pr :
9195 PR_CI_JOB : 1
9296
97+ # Ensure that host tooling is tested on our minimum supported macOS
98+ # version.
99+ env-macos-x86_64-target : &env-macos-x86_64-target
100+ MACOSX_DEPLOYMENT_TARGET : 10.12
101+ MACOSX_STD_DEPLOYMENT_TARGET : 10.12
102+
103+ # Aarch64 tooling only needs to support macOS 11.0 as this is the
104+ # first OS version to support the hardware.
105+ env-macos-aarch64-target : &env-macos-aarch64-target
106+ MACOSX_DEPLOYMENT_TARGET : 11.0
107+ MACOSX_STD_DEPLOYMENT_TARGET : 11.0
108+
93109jobs :
94110 dist-x86_64-linux : &job-dist-x86_64-linux
95111 name : dist-x86_64-linux
@@ -456,14 +472,38 @@ auto:
456472 --set rust.jemalloc
457473 --set rust.lto=thin
458474 --set rust.codegen-units=1
459- # Ensure that host tooling is built to support our minimum support macOS version.
460- MACOSX_DEPLOYMENT_TARGET : 10.12
461- MACOSX_STD_DEPLOYMENT_TARGET : 10.12
462475 DEVELOPER_DIR : /Applications/Xcode_26.2.app/Contents/Developer
476+ << : *env-macos-x86_64-target
463477 DIST_REQUIRE_ALL_TOOLS : 1
464478 CODEGEN_BACKENDS : llvm,cranelift
465479 << : *job-macos
466480
481+ - name : x86_64-apple
482+ env :
483+ SCRIPT : >-
484+ ./x.py test
485+ --stage 2
486+ --host=x86_64-apple-darwin
487+ --target=x86_64-apple-darwin
488+ &&
489+ ./x.py test
490+ --stage 2
491+ --host=x86_64-apple-darwin
492+ --target=x86_64-apple-darwin
493+ src/tools/cargo
494+ RUST_CONFIGURE_ARGS : >-
495+ --enable-sanitizers
496+ --enable-profiler
497+ --set rust.jemalloc
498+ DEVELOPER_DIR : /Applications/Xcode_26.2.app/Contents/Developer
499+ # The x86_64 macOS builders are relatively slow, so we disable
500+ # extra assertions/checks to get back a bit of speed.
501+ NO_LLVM_ASSERTIONS : 1
502+ NO_DEBUG_ASSERTIONS : 1
503+ NO_OVERFLOW_CHECKS : 1
504+ << : *env-macos-x86_64-target
505+ << : *job-macos-x86_64
506+
467507 - name : dist-apple-various
468508 env :
469509 # Build and distribute the standard library for these targets.
@@ -494,11 +534,9 @@ auto:
494534 --set target.aarch64-apple-tvos-sim.profiler=false
495535 --set target.aarch64-apple-watchos.profiler=false
496536 --set target.aarch64-apple-watchos-sim.profiler=false
497- # Ensure that host tooling is built to support our minimum support macOS version.
498- # FIXME(madsmtm): This might be redundant, as we're not building host tooling here (?)
499- MACOSX_DEPLOYMENT_TARGET : 10.12
500- MACOSX_STD_DEPLOYMENT_TARGET : 10.12
501537 DEVELOPER_DIR : /Applications/Xcode_26.2.app/Contents/Developer
538+ # FIXME(madsmtm): Setting the target might be redundant, as we're not building host tooling here (?)
539+ << : *env-macos-x86_64-target
502540 << : *job-macos
503541
504542 - name : dist-aarch64-apple
@@ -515,29 +553,31 @@ auto:
515553 --set rust.jemalloc
516554 --set rust.lto=thin
517555 --set rust.codegen-units=1
518- # Aarch64 tooling only needs to support macOS 11.0 and up as nothing else
519- # supports the hardware.
520- MACOSX_DEPLOYMENT_TARGET : 11.0
521- MACOSX_STD_DEPLOYMENT_TARGET : 11.0
522556 DEVELOPER_DIR : /Applications/Xcode_26.2.app/Contents/Developer
557+ << : *env-macos-aarch64-target
523558 DIST_REQUIRE_ALL_TOOLS : 1
524559 CODEGEN_BACKENDS : llvm,cranelift
525560 << : *job-macos
526561
527562 - name : aarch64-apple
528563 env :
529- SCRIPT : >
530- ./x.py --stage 2 test --host=aarch64-apple-darwin --target=aarch64-apple-darwin &&
531- ./x.py --stage 2 test --host=aarch64-apple-darwin --target=aarch64-apple-darwin src/tools/cargo
564+ SCRIPT : >-
565+ ./x.py test
566+ --stage 2
567+ --host=aarch64-apple-darwin
568+ --target=aarch64-apple-darwin
569+ &&
570+ ./x.py test
571+ --stage 2
572+ --host=aarch64-apple-darwin
573+ --target=aarch64-apple-darwin
574+ src/tools/cargo
532575 RUST_CONFIGURE_ARGS : >-
533576 --enable-sanitizers
534577 --enable-profiler
535578 --set rust.jemalloc
536579 DEVELOPER_DIR : /Applications/Xcode_26.2.app/Contents/Developer
537- # Aarch64 tooling only needs to support macOS 11.0 and up as nothing else
538- # supports the hardware, so only need to test it there.
539- MACOSX_DEPLOYMENT_TARGET : 11.0
540- MACOSX_STD_DEPLOYMENT_TARGET : 11.0
580+ << : *env-macos-aarch64-target
541581 << : *job-macos
542582
543583 # #####################
0 commit comments