From a79322aff426aae48fe3b2ed6396c9584a286dbc Mon Sep 17 00:00:00 2001 From: Daniel Norman Date: Mon, 19 Oct 2026 18:00:12 +0200 Subject: [PATCH] Install zstd in ci pipeline - Add install_zstd step before the build - Fix test_archive_tar_zst panicking on CI --- .buildkite/explorer-rust.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.buildkite/explorer-rust.yml b/.buildkite/explorer-rust.yml index dce5d3019..b5b49bcd6 100644 --- a/.buildkite/explorer-rust.yml +++ b/.buildkite/explorer-rust.yml @@ -24,6 +24,10 @@ __defs: fi rustc --version + # The tar.zst archive test needs the zstd binary, which git shells out to. + install_zstd: &install_zstd | + command -v zstd >/dev/null 2>&1 || sudo apt-get install -y -qq zstd + # Only the parts of ~/.cargo that are expensive to fetch again. registry/src # and git/checkouts are left out on purpose: cargo re-creates both from the # cache and the git db, so caching them would double the size of the volume @@ -50,6 +54,7 @@ steps: paths: *cargo_cache commands: - *install_rust + - *install_zstd - RUSTFLAGS="-D warnings" cargo build --workspace --all-features - cargo test --workspace --all-features - cargo test -p radicle-httpd