mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Don’t install rust-docs, rust-src, or clippy on CI
See https://blog.rust-lang.org/2019/10/15/Rustup-1.20.0.html#profiles
This commit is contained in:
parent
882dcc8408
commit
6913ad086a
3 changed files with 5 additions and 3 deletions
|
@ -503,7 +503,7 @@ class WindowsGenericWorkerTask(GenericWorkerTask):
|
|||
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")
|
||||
|
||||
|
@ -657,6 +657,8 @@ class MacOsGenericWorkerTask(UnixTaskMixin, GenericWorkerTask):
|
|||
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
|
||||
""")
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue