Skip to content

Commit 159ecb8

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 7ad4e69 + a15b69b commit 159ecb8

1 file changed

Lines changed: 59 additions & 18 deletions

File tree

src/ci/github-actions/jobs.yml

Lines changed: 59 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-15-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,39 @@ 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+
--set llvm.download-ci-llvm=false
489+
&&
490+
./x.py test
491+
--stage 2
492+
--host=x86_64-apple-darwin
493+
--target=x86_64-apple-darwin
494+
src/tools/cargo
495+
RUST_CONFIGURE_ARGS: >-
496+
--enable-profiler
497+
--enable-sanitizers
498+
--set rust.jemalloc
499+
DEVELOPER_DIR: /Applications/Xcode_26.2.app/Contents/Developer
500+
# The x86_64 macOS builders are relatively slow, so we disable
501+
# extra assertions/checks to get back a bit of speed.
502+
NO_LLVM_ASSERTIONS: 1
503+
NO_DEBUG_ASSERTIONS: 1
504+
NO_OVERFLOW_CHECKS: 1
505+
<<: *env-macos-x86_64-target
506+
<<: *job-macos-x86_64
507+
467508
- name: dist-apple-various
468509
env:
469510
# Build and distribute the standard library for these targets.
@@ -494,11 +535,9 @@ auto:
494535
--set target.aarch64-apple-tvos-sim.profiler=false
495536
--set target.aarch64-apple-watchos.profiler=false
496537
--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
501538
DEVELOPER_DIR: /Applications/Xcode_26.2.app/Contents/Developer
539+
# FIXME(madsmtm): Setting the target might be redundant, as we're not building host tooling here (?)
540+
<<: *env-macos-x86_64-target
502541
<<: *job-macos
503542

504543
- name: dist-aarch64-apple
@@ -515,29 +554,31 @@ auto:
515554
--set rust.jemalloc
516555
--set rust.lto=thin
517556
--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
522557
DEVELOPER_DIR: /Applications/Xcode_26.2.app/Contents/Developer
558+
<<: *env-macos-aarch64-target
523559
DIST_REQUIRE_ALL_TOOLS: 1
524560
CODEGEN_BACKENDS: llvm,cranelift
525561
<<: *job-macos
526562

527563
- name: aarch64-apple
528564
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
565+
SCRIPT: >-
566+
./x.py test
567+
--stage 2
568+
--host=aarch64-apple-darwin
569+
--target=aarch64-apple-darwin
570+
&&
571+
./x.py test
572+
--stage 2
573+
--host=aarch64-apple-darwin
574+
--target=aarch64-apple-darwin
575+
src/tools/cargo
532576
RUST_CONFIGURE_ARGS: >-
533577
--enable-sanitizers
534578
--enable-profiler
535579
--set rust.jemalloc
536580
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
581+
<<: *env-macos-aarch64-target
541582
<<: *job-macos
542583

543584
######################

0 commit comments

Comments
 (0)