From c0e7190f65e38ac0779a7b80d33b4345cadff7a0 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Fri, 29 Aug 2025 14:56:26 +0200 Subject: [PATCH] feat: add rust cli plan --- crates/cuddle-rust-cli-plan/src/main.rs | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/crates/cuddle-rust-cli-plan/src/main.rs b/crates/cuddle-rust-cli-plan/src/main.rs index df9cb25..3eb117e 100644 --- a/crates/cuddle-rust-cli-plan/src/main.rs +++ b/crates/cuddle-rust-cli-plan/src/main.rs @@ -16,7 +16,13 @@ async fn main() -> eyre::Result<()> { let service = &RustService::from(client.clone()) .with_arch(Architecture::Amd64) .with_os(Os::Linux) - .with_apt(&["libssl-dev", "libz-dev", "libpq-dev", "protobuf-compiler"]) + .with_apt(&[ + "libssl-dev", + "libz-dev", + "libpq-dev", + "protobuf-compiler", + "cmake", + ]) .with_apt_release(&["libssl-dev", "libz-dev", "libpq-dev"]) .with_cuddle_file(&cuddle_file) .with_apt_ca_certificates() @@ -77,6 +83,17 @@ impl cuddle_ci::ReleaseAction for RustReleaser { rust_image .with_workdir("/mnt/src") + .with_exec(vec!["apt", "update"]) + .with_exec(vec![ + "apt", + "install", + "-y", + "libssl-dev", + "libz-dev", + "libpq-dev", + "protobuf-compiler", + "cmake", + ]) .with_directory("/mnt/src", src) .with_new_file( "/root/.cargo/credentials",