@@ -23,7 +23,11 @@ runners:
2323 << : *base-job
2424
2525 - &job-macos
26- os : macos-14
26+ os : macos-15
27+ << : *base-job
28+
29+ - &job-macos-x86_64
30+ os : macos-15-intel
2731 << : *base-job
2832
2933 - &job-windows
9094 pr :
9195 PR_CI_JOB : 1
9296
97+ env-macos-xcode : &env-macos-xcode
98+ SELECT_XCODE : /Applications/Xcode_15.4.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+
93113jobs :
94114 dist-x86_64-linux : &job-dist-x86_64-linux
95115 name : dist-x86_64-linux
@@ -427,26 +447,39 @@ auto:
427447 --set rust.jemalloc
428448 --set rust.lto=thin
429449 --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]
435451 DIST_REQUIRE_ALL_TOOLS : 1
436452 CODEGEN_BACKENDS : llvm,cranelift
437453 << : *job-macos
438454
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+ &&
463+ ./x.py test
464+ --stage 2
465+ --host=x86_64-apple-darwin
466+ --target=x86_64-apple-darwin
467+ src/tools/cargo
468+ RUST_CONFIGURE_ARGS : >-
469+ --enable-profiler
470+ --enable-sanitizers
471+ --set rust.jemalloc
472+ << : [*env-macos-x86_64-target, *env-macos-xcode]
473+ << : *job-macos-x86_64
474+
439475 - name : dist-apple-various
440476 env :
441477 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
442478 # Mac Catalyst cannot currently compile the sanitizer:
443479 # https://github.com/rust-lang/rust/issues/129069
444480 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
481+ # FIXME(madsmtm): Setting the target might be redundant, as we're not building host tooling here (?)
482+ << : [*env-macos-x86_64-target, *env-macos-xcode]
450483 << : *job-macos
451484
452485 - name : dist-aarch64-apple
@@ -463,31 +496,29 @@ auto:
463496 --set rust.jemalloc
464497 --set rust.lto=thin
465498 --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
499+ << : [*env-macos-aarch64-target, *env-macos-xcode]
472500 DIST_REQUIRE_ALL_TOOLS : 1
473501 CODEGEN_BACKENDS : llvm,cranelift
474502 << : *job-macos
475503
476504 - name : aarch64-apple
477505 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
506+ SCRIPT : >-
507+ ./x.py test
508+ --stage 2
509+ --host=aarch64-apple-darwin
510+ --target=aarch64-apple-darwin
511+ &&
512+ ./x.py test
513+ --stage 2
514+ --host=aarch64-apple-darwin
515+ --target=aarch64-apple-darwin
516+ src/tools/cargo
481517 RUST_CONFIGURE_ARGS : >-
482518 --enable-sanitizers
483519 --enable-profiler
484520 --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
521+ << : [*env-macos-aarch64-target, *env-macos-xcode]
491522 << : *job-macos
492523
493524 # #####################
0 commit comments