Skip to content

Commit

Permalink
[ci] Avoid installing/building/testing Rust in CI
Browse files Browse the repository at this point in the history
rustup, our way to installing Rust, is currently broken, breaking all CI
jobs.

Avoid installing Rust until the issue is fixed. Software builds should
continue, but skip the Rust parts.

rust-lang/rustup#2855

Signed-off-by: Philipp Wagner <phw@lowrisc.org>
  • Loading branch information
imphil committed Sep 29, 2021
1 parent 1ea30bc commit 7720972
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
5 changes: 0 additions & 5 deletions ci/install-package-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,5 @@ sudo chmod 777 /tools/verible
tar -C /tools/verible -xf "$verible_tar" --strip-components=1
export PATH=/tools/verible/bin:$PATH

# Install Rust
sw/vendor/rustup/rustup-init.sh -y \
--default-toolchain "${RUST_VERSION}"
export PATH=$HOME/.cargo/bin:$PATH

# Propagate PATH changes to all subsequent steps of the job
echo "##vso[task.setvariable variable=PATH]$PATH"
4 changes: 0 additions & 4 deletions util/container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,6 @@ RUN groupadd dev \
# All subsequent steps are performed as user.
USER dev

# Install Rust plus packages.
COPY sw/vendor/rustup/rustup-init.sh /tmp/rustup-init.sh
RUN /tmp/rustup-init.sh -y --default-toolchain ${RUST_VERSION}

# Install Python plus packages.
#
# Explicitly updating pip and setuptools is required to have these tools
Expand Down

0 comments on commit 7720972

Please sign in to comment.