Skip to content

Commit 5522409

Browse files
committed
Auto merge of #147192 - shepmaster:resume-macos-x86_64-testing, r=<try>
Resume testing macOS x86_64 try-job: x86_64-apple
2 parents 6f54d59 + 2e685fd commit 5522409

1 file changed

Lines changed: 52 additions & 18 deletions

File tree

src/ci/github-actions/jobs.yml

Lines changed: 52 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ runners:
2626
os: macos-15 # macOS 15 Arm64
2727
<<: *base-job
2828

29+
- &job-macos-x86_64
30+
os: macos-26-intel
31+
<<: *base-job
32+
2933
- &job-windows
3034
os: windows-2025
3135
<<: *base-job
@@ -90,6 +94,18 @@ envs:
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+
93109
jobs:
94110
dist-x86_64-linux: &job-dist-x86_64-linux
95111
name: dist-x86_64-linux
@@ -456,14 +472,32 @@ 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+
RUST_CONFIGURE_ARGS: >-
489+
--enable-sanitizers
490+
--enable-profiler
491+
--set rust.jemalloc
492+
DEVELOPER_DIR: /Applications/Xcode_26.2.app/Contents/Developer
493+
# The x86_64 macOS builders are relatively slow, so we disable
494+
# extra assertions/checks to get back a bit of speed.
495+
NO_LLVM_ASSERTIONS: 1
496+
NO_DEBUG_ASSERTIONS: 1
497+
NO_OVERFLOW_CHECKS: 1
498+
<<: *env-macos-x86_64-target
499+
<<: *job-macos-x86_64
500+
467501
- name: dist-apple-various
468502
env:
469503
# Build and distribute the standard library for these targets.
@@ -494,11 +528,9 @@ auto:
494528
--set target.aarch64-apple-tvos-sim.profiler=false
495529
--set target.aarch64-apple-watchos.profiler=false
496530
--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
501531
DEVELOPER_DIR: /Applications/Xcode_26.2.app/Contents/Developer
532+
# FIXME(madsmtm): Setting the target might be redundant, as we're not building host tooling here (?)
533+
<<: *env-macos-x86_64-target
502534
<<: *job-macos
503535

504536
- name: dist-aarch64-apple
@@ -515,29 +547,31 @@ auto:
515547
--set rust.jemalloc
516548
--set rust.lto=thin
517549
--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
522550
DEVELOPER_DIR: /Applications/Xcode_26.2.app/Contents/Developer
551+
<<: *env-macos-aarch64-target
523552
DIST_REQUIRE_ALL_TOOLS: 1
524553
CODEGEN_BACKENDS: llvm,cranelift
525554
<<: *job-macos
526555

527556
- name: aarch64-apple
528557
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
558+
SCRIPT: >-
559+
./x.py test
560+
--stage 2
561+
--host=aarch64-apple-darwin
562+
--target=aarch64-apple-darwin
563+
&&
564+
./x.py test
565+
--stage 2
566+
--host=aarch64-apple-darwin
567+
--target=aarch64-apple-darwin
568+
src/tools/cargo
532569
RUST_CONFIGURE_ARGS: >-
533570
--enable-sanitizers
534571
--enable-profiler
535572
--set rust.jemalloc
536573
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
574+
<<: *env-macos-aarch64-target
541575
<<: *job-macos
542576

543577
######################

0 commit comments

Comments
 (0)