mirror of
https://github.com/nushell/nushell.git
synced 2024-11-30 20:34:16 +01:00
Second attempt to remove rust-toolchain
This commit is contained in:
parent
56dd0282f0
commit
1cca5557b1
@ -35,11 +35,11 @@ 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 "stable"
|
curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain "1.39.0"
|
||||||
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 "stable"
|
rustup component add rustfmt --toolchain "1.39.0"
|
||||||
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')
|
||||||
|
@ -12,7 +12,7 @@ RUN apt-get update && apt-get install -y libssl-dev \
|
|||||||
ARG RELEASE=false
|
ARG RELEASE=false
|
||||||
WORKDIR /code
|
WORKDIR /code
|
||||||
COPY ./rust-toolchain ./rust-toolchain
|
COPY ./rust-toolchain ./rust-toolchain
|
||||||
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain "stable"
|
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --default-toolchain "1.39.0"
|
||||||
ENV PATH=/root/.cargo/bin:$PATH
|
ENV PATH=/root/.cargo/bin:$PATH
|
||||||
COPY . /code
|
COPY . /code
|
||||||
RUN echo "##vso[task.prependpath]/root/.cargo/bin" && \
|
RUN echo "##vso[task.prependpath]/root/.cargo/bin" && \
|
||||||
|
@ -1 +0,0 @@
|
|||||||
1.39.0
|
|
Loading…
Reference in New Issue
Block a user