Skip to content

Commit ae44ad5

Browse files
committed
test macOS in ci temporarily
1 parent c14f8b5 commit ae44ad5

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.github/workflows/ci.yml

+11
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,17 @@ jobs:
6363
- name: x86_64-gnu-tools
6464
os: ubuntu-20.04-16core-64gb
6565
env: {}
66+
- name: x86_64-apple-1
67+
env:
68+
SCRIPT: "./x.py --stage 2 test --skip tests/ui --skip tests/rustdoc --skip tests/run-make-fulldeps"
69+
RUST_CONFIGURE_ARGS: "--build=x86_64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
70+
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
71+
MACOSX_DEPLOYMENT_TARGET: 10.12
72+
MACOSX_STD_DEPLOYMENT_TARGET: 10.12
73+
NO_LLVM_ASSERTIONS: 1
74+
NO_DEBUG_ASSERTIONS: 1
75+
NO_OVERFLOW_CHECKS: 1
76+
os: macos-13
6677
timeout-minutes: 600
6778
runs-on: "${{ matrix.os }}"
6879
steps:

src/ci/github-actions/ci.yml

+12
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,18 @@ jobs:
341341

342342
- name: x86_64-gnu-tools
343343
<<: *job-linux-16c
344+
345+
- name: x86_64-apple-1
346+
env: &env-x86_64-apple-tests
347+
SCRIPT: ./x.py --stage 2 test --skip tests/ui --skip tests/rustdoc --skip tests/run-make-fulldeps
348+
RUST_CONFIGURE_ARGS: --build=x86_64-apple-darwin --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false
349+
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
350+
MACOSX_DEPLOYMENT_TARGET: 10.12
351+
MACOSX_STD_DEPLOYMENT_TARGET: 10.12
352+
NO_LLVM_ASSERTIONS: 1
353+
NO_DEBUG_ASSERTIONS: 1
354+
NO_OVERFLOW_CHECKS: 1
355+
<<: *job-macos-xl
344356

345357
auto:
346358
<<: *base-ci-job

0 commit comments

Comments
 (0)