Skip to content

Commit 9a3c024

Browse files
Skip documentation for tier 2 targets
1 parent 6162529 commit 9a3c024

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ jobs:
287287
os: ubuntu-latest-xl
288288
- name: dist-x86_64-apple
289289
env:
290-
SCRIPT: "./x.py dist"
290+
SCRIPT: "./x.py dist --exclude src/doc --exclude extended && ./x.py dist --target=x86_64-apple-darwin src/doc && ./x.py dist extended"
291291
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"
292292
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
293293
MACOSX_DEPLOYMENT_TARGET: 10.7

src/ci/github-actions/ci.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -448,9 +448,11 @@ jobs:
448448
# macOS Builders #
449449
####################
450450

451+
# Only generate documentation for x86_64-apple-darwin, not other
452+
# tier 2 targets produced by this builder.
451453
- name: dist-x86_64-apple
452454
env:
453-
SCRIPT: ./x.py dist
455+
SCRIPT: ./x.py dist --exclude src/doc --exclude extended && ./x.py dist --target=x86_64-apple-darwin src/doc && ./x.py dist extended
454456
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
455457
RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
456458
MACOSX_DEPLOYMENT_TARGET: 10.7

0 commit comments

Comments
 (0)