From 2c9ff688c9261a1df777076102c8146cb7ac4e28 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Tue, 15 Oct 2019 08:49:39 -0600 Subject: [PATCH 1/2] Use rustup's minimal profile during CI on FreeBSD This should fix CI on FreeBSD after Rustup 1.20.0 was released, and save time as well. --- .cirrus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index ffb3d34511..039d922ac9 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -14,7 +14,7 @@ task: setup_script: - pkg install -y curl - curl https://sh.rustup.rs -sSf --output rustup.sh - - sh rustup.sh -y --default-toolchain 1.36.0 + - sh rustup.sh -y --profile=minimal --default-toolchain 1.36.0 - $HOME/.cargo/bin/rustup target add i686-unknown-freebsd amd64_test_script: - . $HOME/.cargo/env From 92290affeb38271565cbaa01b847cd4929dc2970 Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Tue, 15 Oct 2019 08:52:57 -0600 Subject: [PATCH 2/2] Use fetch instead of curl during CI on FreeBSD --- .cirrus.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 039d922ac9..0ee38e213b 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -12,8 +12,7 @@ task: fingerprint_script: cat Cargo.lock || echo "" # Install Rust setup_script: - - pkg install -y curl - - curl https://sh.rustup.rs -sSf --output rustup.sh + - fetch https://sh.rustup.rs -o rustup.sh - sh rustup.sh -y --profile=minimal --default-toolchain 1.36.0 - $HOME/.cargo/bin/rustup target add i686-unknown-freebsd amd64_test_script: