about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2020-12-28 13:00:50 +0100
committerPietro Albini <pietro@pietroalbini.org>2020-12-29 11:56:25 +0100
commitd0d0ee0b5d1fc459ee8d697dedf37d642430c6f5 (patch)
tree15852a337177ab8b22993c4a9dba5aab49612012 /src
parent0a2034dca46f72d24d94c04b47c48d30149693bd (diff)
downloadrust-d0d0ee0b5d1fc459ee8d697dedf37d642430c6f5.tar.gz
rust-d0d0ee0b5d1fc459ee8d697dedf37d642430c6f5.zip
ci: stop producing gzip-compressed dist tarballs
Diffstat (limited to 'src')
-rwxr-xr-xsrc/ci/run.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ci/run.sh b/src/ci/run.sh
index 181a7fcb732..1958b6ee41d 100755
--- a/src/ci/run.sh
+++ b/src/ci/run.sh
@@ -53,6 +53,11 @@ RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-locked-deps"
 RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-cargo-native-static"
 RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set rust.codegen-units-std=1"
 
+# Only produce xz tarballs on CI. gz tarballs will be generated by the release
+# process by recompressing the existing xz ones. This decreases the storage
+# space required for CI artifacts.
+RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --dist-compression-formats=xz"
+
 if [ "$DIST_SRC" = "" ]; then
   RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --disable-dist-src"
 fi