about summary refs log tree commit diff
path: root/src/ci/github-actions
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2021-10-20 11:58:20 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2021-10-20 14:43:23 -0400
commit9a3c02473b922e91ad7c37beed8bd48da0ef05db (patch)
tree54da3930754362be84de5ed4ac526a856b3b3a90 /src/ci/github-actions
parent6162529a01473bbb2427fa27354cbafc3c514eee (diff)
downloadrust-9a3c02473b922e91ad7c37beed8bd48da0ef05db.tar.gz
rust-9a3c02473b922e91ad7c37beed8bd48da0ef05db.zip
Skip documentation for tier 2 targets
Diffstat (limited to 'src/ci/github-actions')
-rw-r--r--src/ci/github-actions/ci.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ci/github-actions/ci.yml b/src/ci/github-actions/ci.yml
index eb16cf3c762..2b37a6fde7e 100644
--- a/src/ci/github-actions/ci.yml
+++ b/src/ci/github-actions/ci.yml
@@ -448,9 +448,11 @@ jobs:
           #  macOS Builders  #
           ####################
 
+          # Only generate documentation for x86_64-apple-darwin, not other
+          # tier 2 targets produced by this builder.
           - name: dist-x86_64-apple
             env:
-              SCRIPT: ./x.py dist
+              SCRIPT: ./x.py dist --exclude src/doc --exclude extended && ./x.py dist --target=x86_64-apple-darwin src/doc && ./x.py dist extended
               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
               RUSTC_RETRY_LINKER_ON_SEGFAULT: 1
               MACOSX_DEPLOYMENT_TARGET: 10.7