summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorAlexander Batischev <eual.jp@gmail.com>2020-07-02 16:03:50 +0300
committerAlexander Batischev <eual.jp@gmail.com>2020-07-02 21:42:36 +0300
commit0947ba3b4da3f348a70592f15b99a8141afddd74 (patch)
treede892ce9d9dbadf5178cc47dd52638beb3b1c6a6 /docker
parent896854fedd3b8b1d6c544b7326bf7357600e3e46 (diff)
Cirrus CI: run Clippy (Rust linter)
It's not a given that warnings would be the same on every platform; we already ran into this with `libc::mode_t` having different size between Linux and FreeBSD. That's why we opt to run Clippy in *all* tasks, rather than creating a single standalone task just for linting. Had to switch Rustup from "minimal" profile to "default" to install Clippy.
Diffstat (limited to 'docker')
-rw-r--r--docker/ubuntu_16.04-build-tools.dockerfile2
-rw-r--r--docker/ubuntu_18.04-build-tools.dockerfile2
-rw-r--r--docker/ubuntu_18.04-i686.dockerfile2
-rw-r--r--docker/ubuntu_20.04-build-tools.dockerfile2
4 files changed, 0 insertions, 8 deletions
diff --git a/docker/ubuntu_16.04-build-tools.dockerfile b/docker/ubuntu_16.04-build-tools.dockerfile
index ff0cc040..77326654 100644
--- a/docker/ubuntu_16.04-build-tools.dockerfile
+++ b/docker/ubuntu_16.04-build-tools.dockerfile
@@ -89,8 +89,6 @@ RUN wget -O $HOME/rustup.sh --secure-protocol=TLSv1_2 https://sh.rustup.rs \
&& $HOME/rustup.sh -y \
--default-host x86_64-unknown-linux-gnu \
--default-toolchain $rust_version \
- # Install only rustc, rust-std, and cargo
- --profile minimal \
&& chmod a+w $HOME/.cargo
ENV HOME /home/builder
diff --git a/docker/ubuntu_18.04-build-tools.dockerfile b/docker/ubuntu_18.04-build-tools.dockerfile
index 0f90b9d5..25de1128 100644
--- a/docker/ubuntu_18.04-build-tools.dockerfile
+++ b/docker/ubuntu_18.04-build-tools.dockerfile
@@ -89,8 +89,6 @@ RUN wget -O $HOME/rustup.sh --secure-protocol=TLSv1_2 https://sh.rustup.rs \
&& $HOME/rustup.sh -y \
--default-host x86_64-unknown-linux-gnu \
--default-toolchain $rust_version \
- # Install only rustc, rust-std, and cargo
- --profile minimal \
&& chmod a+w $HOME/.cargo
ENV HOME /home/builder
diff --git a/docker/ubuntu_18.04-i686.dockerfile b/docker/ubuntu_18.04-i686.dockerfile
index d7850274..ed8f4ca6 100644
--- a/docker/ubuntu_18.04-i686.dockerfile
+++ b/docker/ubuntu_18.04-i686.dockerfile
@@ -74,8 +74,6 @@ RUN wget -O $HOME/rustup.sh --secure-protocol=TLSv1_2 https://sh.rustup.rs \
&& $HOME/rustup.sh -y \
--default-host i686-unknown-linux-gnu \
--default-toolchain 1.44.1 \
- # Install only rustc, rust-std, and cargo
- --profile minimal \
&& chmod a+w $HOME/.cargo
ENV HOME /home/builder
diff --git a/docker/ubuntu_20.04-build-tools.dockerfile b/docker/ubuntu_20.04-build-tools.dockerfile
index 3901fb5f..49cd165a 100644
--- a/docker/ubuntu_20.04-build-tools.dockerfile
+++ b/docker/ubuntu_20.04-build-tools.dockerfile
@@ -89,8 +89,6 @@ RUN wget -O $HOME/rustup.sh --secure-protocol=TLSv1_2 https://sh.rustup.rs \
&& $HOME/rustup.sh -y \
--default-host x86_64-unknown-linux-gnu \
--default-toolchain $rust_version \
- # Install only rustc, rust-std, and cargo
- --profile minimal \
&& chmod a+w $HOME/.cargo
ENV HOME /home/builder