ci: Install Rust via RUN.

This commit is contained in:
Piet 2022-02-20 23:43:34 +01:00 committed by Xiang Xiao
parent 2dcaab8af8
commit 2e3b77da8e

View File

@ -191,6 +191,12 @@ RUN cd renesas-tools/source/newlib && \
RUN cd /tools/renesas-tools/build/gcc && \
make && make install
# Install Rust and targets supported from NuttX
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \
$HOME/.cargo/bin/rustup target add thumbv6m-none-eabi && \
$HOME/.cargo/bin/rustup target add thumbv7m-none-eabi
ENV PATH="$HOME/.cargo/bin:$PATH"
###############################################################################
# Final Docker image used for running CI system. This includes all toolchains
# supported by the CI system.
@ -227,7 +233,6 @@ RUN apt-get update -qq && DEBIAN_FRONTEND="noninteractive" apt-get install -y -q
python3 \
python3-pip \
python-is-python3 \
rustc \
u-boot-tools \
unzip \
wget \