feat: with rust build and test

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2023-08-12 19:50:30 +02:00
committed by Kasper Juul Hermansen
parent a17e527b91
commit e1428a8fbb
26 changed files with 855 additions and 2 deletions

View File

@@ -0,0 +1,16 @@
use dagger_rust::{build::RustVersion, test::RustTest};
#[tokio::main]
pub async fn main() -> eyre::Result<()> {
let client = dagger_sdk::connect().await?;
RustTest::new(client.clone())
.test(
Some("testdata"),
RustVersion::Nightly,
&["crates/*"],
&["openssl"],
)
.await?;
Ok(())
}