File tree 2 files changed +8
-4
lines changed
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 5
5
setup_script :
6
6
- pkg install -y curl
7
7
- curl https://sh.rustup.rs -sSf --output rustup.sh
8
- - sh rustup.sh --default-toolchain nightly -y
8
+ - sh rustup.sh --default-toolchain nightly -y --profile=minimal
9
9
- . $HOME/.cargo/env
10
10
- rustup default nightly
11
11
test_script :
19
19
setup_script :
20
20
- pkg install -y curl
21
21
- curl https://sh.rustup.rs -sSf --output rustup.sh
22
- - sh rustup.sh -y
22
+ - sh rustup.sh -y --profile=minimal
23
23
- . $HOME/.cargo/env
24
24
- rustup default stable
25
25
test_script :
34
34
setup_script :
35
35
- pkg install -y curl
36
36
- curl https://sh.rustup.rs -sSf --output rustup.sh
37
- - sh rustup.sh --default-toolchain nightly -y
37
+ - sh rustup.sh --default-toolchain nightly -y --profile=minimal
38
38
- . $HOME/.cargo/env
39
39
- rustup default nightly
40
40
test_script :
Original file line number Diff line number Diff line change 6
6
toolchain=nightly
7
7
fi
8
8
if command -v rustup; then
9
+ # Uncomment when rustup on Azure is updated
10
+ #rustup set profile minimal
9
11
rustup update $toolchain
10
12
rustup default $toolchain
11
13
else
12
- curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $toolchain
14
+ curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $toolchain --profile=minimal
13
15
echo "##vso[task.prependpath]$HOME/.cargo/bin"
14
16
fi
15
17
displayName: Install rust (unix)
16
18
condition: ne( variables['Agent.OS'], 'Windows_NT' )
17
19
- script : |
18
20
@echo on
19
21
if not defined TOOLCHAIN set TOOLCHAIN=nightly
22
+ :: Uncomment when rustup on Azure is updated
23
+ ::rustup set profile minimal
20
24
rustup update --no-self-update %TOOLCHAIN%-%TARGET%
21
25
rustup default %TOOLCHAIN%-%TARGET%
22
26
displayName: Install rust (windows)
You can’t perform that action at this time.
0 commit comments