Skip to content

Commit 9d668c4

Browse files
committed
Run tests in CI for aarch64-apple-darwin
1 parent 76b5e04 commit 9d668c4

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

.github/workflows/ci.yml

+13
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,19 @@ jobs:
369369
NO_OVERFLOW_CHECKS: 1
370370
DIST_REQUIRE_ALL_TOOLS: 1
371371
os: macos-13-xlarge
372+
- name: aarch64-apple
373+
env:
374+
SCRIPT: "./x.py --stage 2 test --host=aarch64-apple-darwin --target=aarch64-apple-darwin"
375+
RUST_CONFIGURE_ARGS: "--enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
376+
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
377+
SELECT_XCODE: /Applications/Xcode_13.4.1.app
378+
USE_XCODE_CLANG: 1
379+
MACOSX_DEPLOYMENT_TARGET: 11.0
380+
MACOSX_STD_DEPLOYMENT_TARGET: 11.0
381+
NO_LLVM_ASSERTIONS: 1
382+
NO_DEBUG_ASSERTIONS: 1
383+
NO_OVERFLOW_CHECKS: 1
384+
os: macos-13-xlarge
372385
- name: x86_64-msvc
373386
env:
374387
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --enable-profiler"

src/ci/github-actions/ci.yml

+19
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,25 @@ jobs:
563563
DIST_REQUIRE_ALL_TOOLS: 1
564564
<<: *job-macos-m1
565565

566+
# This target only needs to support 11.0 and up as nothing else supports the hardware
567+
- name: aarch64-apple
568+
env:
569+
SCRIPT: ./x.py --stage 2 test --host=aarch64-apple-darwin --target=aarch64-apple-darwin
570+
RUST_CONFIGURE_ARGS: >-
571+
--enable-sanitizers
572+
--enable-profiler
573+
--set rust.jemalloc
574+
--set llvm.ninja=false
575+
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
576+
SELECT_XCODE: /Applications/Xcode_13.4.1.app
577+
USE_XCODE_CLANG: 1
578+
MACOSX_DEPLOYMENT_TARGET: 11.0
579+
MACOSX_STD_DEPLOYMENT_TARGET: 11.0
580+
NO_LLVM_ASSERTIONS: 1
581+
NO_DEBUG_ASSERTIONS: 1
582+
NO_OVERFLOW_CHECKS: 1
583+
<<: *job-macos-m1
584+
566585
######################
567586
# Windows Builders #
568587
######################

0 commit comments

Comments
 (0)