Skip to content

Commit 30cfc15

Browse files
Auto merge of #147192 - shepmaster:resume-macos-x86_64-testing, r=<try>
Resume testing macOS x86_64 try-job: x86_64-apple
2 parents a2db928 + b98a266 commit 30cfc15

File tree

1 file changed

+65
-25
lines changed

1 file changed

+65
-25
lines changed

src/ci/github-actions/jobs.yml

Lines changed: 65 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -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
@@ -90,6 +94,22 @@ envs:
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+
93113
jobs:
94114
dist-x86_64-linux: &job-dist-x86_64-linux
95115
name: dist-x86_64-linux
@@ -427,26 +447,44 @@ 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
451+
<<: *env-macos-xcode
435452
DIST_REQUIRE_ALL_TOOLS: 1
436453
CODEGEN_BACKENDS: llvm,cranelift
437454
<<: *job-macos
438455

456+
- name: x86_64-apple
457+
env:
458+
SCRIPT: >-
459+
./x.py test
460+
--stage 2
461+
--host=x86_64-apple-darwin
462+
--target=x86_64-apple-darwin
463+
464+
&&
465+
466+
./x.py test
467+
--stage 2
468+
--host=x86_64-apple-darwin
469+
--target=x86_64-apple-darwin
470+
src/tools/cargo
471+
RUST_CONFIGURE_ARGS: >-
472+
--enable-profiler
473+
--enable-sanitizers
474+
--set rust.jemalloc
475+
<<: *env-macos-x86_64-target
476+
<<: *env-macos-xcode
477+
<<: *job-macos-x86_64
478+
439479
- name: dist-apple-various
440480
env:
441481
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
442482
# Mac Catalyst cannot currently compile the sanitizer:
443483
# https://github.com/rust-lang/rust/issues/129069
444484
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.
446485
# 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
486+
<<: *env-macos-x86_64-target
487+
<<: *env-macos-xcode
450488
<<: *job-macos
451489

452490
- name: dist-aarch64-apple
@@ -463,31 +501,33 @@ auto:
463501
--set rust.jemalloc
464502
--set rust.lto=thin
465503
--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
504+
<<: *env-macos-aarch64-target
505+
<<: *env-macos-xcode
472506
DIST_REQUIRE_ALL_TOOLS: 1
473507
CODEGEN_BACKENDS: llvm,cranelift
474508
<<: *job-macos
475509

476510
- name: aarch64-apple
477511
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+
&&
519+
520+
./x.py test
521+
--stage 2
522+
--host=aarch64-apple-darwin
523+
--target=aarch64-apple-darwin
524+
src/tools/cargo
481525
RUST_CONFIGURE_ARGS: >-
482526
--enable-sanitizers
483527
--enable-profiler
484528
--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
529+
<<: *env-macos-aarch64-target
530+
<<: *env-macos-xcode
491531
<<: *job-macos
492532

493533
######################

0 commit comments

Comments
 (0)