mirror of
https://github.com/nushell/nushell
synced 2024-12-26 21:13:19 +00:00
try again
This commit is contained in:
parent
1cca5557b1
commit
c6c6c0f295
1 changed files with 3 additions and 2 deletions
|
@ -35,11 +35,12 @@ steps:
|
||||||
then
|
then
|
||||||
sudo apt-get -y install libxcb-composite0-dev libx11-dev
|
sudo apt-get -y install libxcb-composite0-dev libx11-dev
|
||||||
fi
|
fi
|
||||||
curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain "1.39.0"
|
curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain "stable"
|
||||||
|
rustup update
|
||||||
export PATH=$HOME/.cargo/bin:$PATH
|
export PATH=$HOME/.cargo/bin:$PATH
|
||||||
rustc -Vv
|
rustc -Vv
|
||||||
echo "##vso[task.prependpath]$HOME/.cargo/bin"
|
echo "##vso[task.prependpath]$HOME/.cargo/bin"
|
||||||
rustup component add rustfmt --toolchain "1.39.0"
|
rustup component add rustfmt --toolchain "stable"
|
||||||
displayName: Install Rust
|
displayName: Install Rust
|
||||||
- bash: RUSTFLAGS="-D warnings" cargo test --all-features
|
- bash: RUSTFLAGS="-D warnings" cargo test --all-features
|
||||||
condition: eq(variables['style'], 'unflagged')
|
condition: eq(variables['style'], 'unflagged')
|
||||||
|
|
Loading…
Reference in a new issue