about summary refs log tree commit diff
path: root/src/ci/github-actions
diff options
context:
space:
mode:
authorJake Goulding <jake.goulding@gmail.com>2023-10-31 11:05:56 -0400
committerJake Goulding <jake.goulding@gmail.com>2023-11-08 08:54:42 -0500
commit6909992501b400c8cd7d75e8d61365b2c20015f9 (patch)
tree128d61f05d54c491e28ee5ff4801ff1849d14425 /src/ci/github-actions
parent64090536d4d700c6383532177b0993157957f5c8 (diff)
downloadrust-6909992501b400c8cd7d75e8d61365b2c20015f9.tar.gz
rust-6909992501b400c8cd7d75e8d61365b2c20015f9.zip
Run tests in CI for aarch64-apple-darwin
Diffstat (limited to 'src/ci/github-actions')
-rw-r--r--src/ci/github-actions/ci.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/ci/github-actions/ci.yml b/src/ci/github-actions/ci.yml
index 6518a88732f..da29ffb8e5f 100644
--- a/src/ci/github-actions/ci.yml
+++ b/src/ci/github-actions/ci.yml
@@ -569,6 +569,25 @@ jobs:
               DIST_REQUIRE_ALL_TOOLS: 1
             <<: *job-macos-m1
 
+          # This target only needs to support 11.0 and up as nothing else supports the hardware
+          - name: aarch64-apple
+            env:
+              SCRIPT: ./x.py --stage 2 test --host=aarch64-apple-darwin --target=aarch64-apple-darwin
+              RUST_CONFIGURE_ARGS: >-
+                --enable-sanitizers
+                --enable-profiler
+                --set rust.jemalloc
+                --set llvm.ninja=false
+              RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
+              SELECT_XCODE: /Applications/Xcode_13.4.1.app
+              USE_XCODE_CLANG: 1
+              MACOSX_DEPLOYMENT_TARGET: 11.0
+              MACOSX_STD_DEPLOYMENT_TARGET: 11.0
+              NO_LLVM_ASSERTIONS: 1
+              NO_DEBUG_ASSERTIONS: 1
+              NO_OVERFLOW_CHECKS: 1
+            <<: *job-macos-m1
+
           ######################
           #  Windows Builders  #
           ######################