Skip to content

Commit b726f28

Browse files
Move target-only apple targets to separate builder
1 parent 427eba2 commit b726f28

File tree

2 files changed

+25
-6
lines changed

2 files changed

+25
-6
lines changed

Diff for: .github/workflows/ci.yml

+12-2
Original file line numberDiff line numberDiff line change
@@ -290,15 +290,25 @@ jobs:
290290
os: ubuntu-20.04-xl
291291
- name: dist-x86_64-apple
292292
env:
293-
SCRIPT: "./x.py dist --exclude rust-docs --exclude extended && ./x.py dist --target=x86_64-apple-darwin rust-docs && ./x.py dist extended"
294-
RUST_CONFIGURE_ARGS: "--host=x86_64-apple-darwin --target=x86_64-apple-darwin,aarch64-apple-ios,x86_64-apple-ios,aarch64-apple-ios-sim --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
293+
SCRIPT: "./x.py dist --host=x86_64-apple-darwin --target=x86_64-apple-darwin"
294+
RUST_CONFIGURE_ARGS: "--enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
295295
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
296296
MACOSX_DEPLOYMENT_TARGET: 10.7
297297
NO_LLVM_ASSERTIONS: 1
298298
NO_DEBUG_ASSERTIONS: 1
299299
NO_OVERFLOW_CHECKS: 1
300300
DIST_REQUIRE_ALL_TOOLS: 1
301301
os: macos-latest
302+
- name: dist-apple-various
303+
env:
304+
SCRIPT: "./x.py dist --host='' --target=aarch64-apple-ios,x86_64-apple-ios,aarch64-apple-ios-sim"
305+
RUST_CONFIGURE_ARGS: "--enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false"
306+
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
307+
MACOSX_DEPLOYMENT_TARGET: 10.7
308+
NO_LLVM_ASSERTIONS: 1
309+
NO_DEBUG_ASSERTIONS: 1
310+
NO_OVERFLOW_CHECKS: 1
311+
os: macos-latest
302312
- name: dist-x86_64-apple-alt
303313
env:
304314
SCRIPT: "./x.py dist"

Diff for: src/ci/github-actions/ci.yml

+13-4
Original file line numberDiff line numberDiff line change
@@ -452,12 +452,10 @@ jobs:
452452
# macOS Builders #
453453
####################
454454

455-
# Only generate documentation for x86_64-apple-darwin, not other
456-
# tier 2 targets produced by this builder.
457455
- name: dist-x86_64-apple
458456
env:
459-
SCRIPT: ./x.py dist --exclude rust-docs --exclude extended && ./x.py dist --target=x86_64-apple-darwin rust-docs && ./x.py dist extended
460-
RUST_CONFIGURE_ARGS: --host=x86_64-apple-darwin --target=x86_64-apple-darwin,aarch64-apple-ios,x86_64-apple-ios,aarch64-apple-ios-sim --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false
457+
SCRIPT: ./x.py dist --host=x86_64-apple-darwin --target=x86_64-apple-darwin
458+
RUST_CONFIGURE_ARGS: --enable-full-tools --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false
461459
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
462460
MACOSX_DEPLOYMENT_TARGET: 10.7
463461
NO_LLVM_ASSERTIONS: 1
@@ -466,6 +464,17 @@ jobs:
466464
DIST_REQUIRE_ALL_TOOLS: 1
467465
<<: *job-macos-xl
468466

467+
- name: dist-apple-various
468+
env:
469+
SCRIPT: ./x.py dist --host='' --target=aarch64-apple-ios,x86_64-apple-ios,aarch64-apple-ios-sim
470+
RUST_CONFIGURE_ARGS: --enable-sanitizers --enable-profiler --set rust.jemalloc --set llvm.ninja=false
471+
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
472+
MACOSX_DEPLOYMENT_TARGET: 10.7
473+
NO_LLVM_ASSERTIONS: 1
474+
NO_DEBUG_ASSERTIONS: 1
475+
NO_OVERFLOW_CHECKS: 1
476+
<<: *job-macos-xl
477+
469478
- name: dist-x86_64-apple-alt
470479
env:
471480
SCRIPT: ./x.py dist

0 commit comments

Comments
 (0)