Skip to content

Commit

Permalink
Don’t install rust-docs, rust-src, or clippy on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSapin committed Oct 21, 2019
1 parent 882dcc8 commit 6913ad0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion etc/taskcluster/decision_task.py
Expand Up @@ -190,6 +190,7 @@ def linux_tidy_unit_docs():
./etc/ci/lockfile_changed.sh
./etc/ci/check_no_panic.sh
rustup component add rust-docs
RUSTDOCFLAGS="--disable-minification" ./mach doc
(
cd target/doc
Expand Down Expand Up @@ -734,7 +735,6 @@ def windows_task(name):
)



def macos_task(name):
return (
decisionlib.MacOsGenericWorkerTask(name)
Expand Down
4 changes: 3 additions & 1 deletion etc/taskcluster/decisionlib.py
Expand Up @@ -503,7 +503,7 @@ def with_rustup(self):
return self \
.with_path_from_homedir(".cargo\\bin") \
.with_early_script(
"%HOMEDRIVE%%HOMEPATH%\\rustup-init.exe --default-toolchain none -y"
"%HOMEDRIVE%%HOMEPATH%\\rustup-init.exe --default-toolchain none --profile=minimal -y"
) \
.with_file_mount("https://win.rustup.rs/x86_64", path="rustup-init.exe")

Expand Down Expand Up @@ -657,6 +657,8 @@ def with_rustup(self):
return self.with_early_script("""
export PATH="$HOME/.cargo/bin:$PATH"
which rustup || curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain none -y
rustup self update
rustup set profile minimal
""")


Expand Down
2 changes: 1 addition & 1 deletion etc/taskcluster/docker/build.dockerfile
Expand Up @@ -42,7 +42,7 @@ RUN \
&& \
#
#
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain none -y && \
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain none --profile=minimal -y && \
#
#
curl -sSfL \
Expand Down

0 comments on commit 6913ad0

Please sign in to comment.