Skip to content

Commit 6909992

Browse files
committedNov 8, 2023
Run tests in CI for aarch64-apple-darwin
1 parent 6409053 commit 6909992

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
@@ -373,6 +373,19 @@ jobs:
373373
NO_OVERFLOW_CHECKS: 1
374374
DIST_REQUIRE_ALL_TOOLS: 1
375375
os: macos-13-xlarge
376+
- name: aarch64-apple
377+
env:
378+
SCRIPT: "./x.py --stage 2 test --host=aarch64-apple-darwin --target=aarch64-apple-darwin"
379+
RUST_CONFIGURE_ARGS: "--enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
380+
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
381+
SELECT_XCODE: /Applications/Xcode_13.4.1.app
382+
USE_XCODE_CLANG: 1
383+
MACOSX_DEPLOYMENT_TARGET: 11.0
384+
MACOSX_STD_DEPLOYMENT_TARGET: 11.0
385+
NO_LLVM_ASSERTIONS: 1
386+
NO_DEBUG_ASSERTIONS: 1
387+
NO_OVERFLOW_CHECKS: 1
388+
os: macos-13-xlarge
376389
- name: x86_64-msvc
377390
env:
378391
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
@@ -569,6 +569,25 @@ jobs:
569569
DIST_REQUIRE_ALL_TOOLS: 1
570570
<<: *job-macos-m1
571571

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

0 commit comments

Comments
 (0)
Please sign in to comment.