Skip to content

Commit 744f16d

Browse files
committed
Run tests in CI for aarch64-apple-darwin
1 parent c6b4a33 commit 744f16d

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
@@ -567,6 +567,25 @@ jobs:
567567
DIST_REQUIRE_ALL_TOOLS: 1
568568
<<: *job-macos-m1
569569

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

0 commit comments

Comments
 (0)