]> git.lizzy.rs Git - rust.git/blobdiff - src/ci/run.sh
Rollup merge of #81940 - jhpratt:stabilize-str_split_once, r=m-ou-se
[rust.git] / src / ci / run.sh
index 181a7fcb732661cffec9e8c9cf3233470ce922ac..1958b6ee41d7fb9374ed619e8a1680e97652fece 100755 (executable)
@@ -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