2023-08-12 19:50:30 +02:00
|
|
|
use dagger_rust::{build::RustVersion, test::RustTest};
|
|
|
|
|
|
|
|
#[tokio::main]
|
|
|
|
pub async fn main() -> eyre::Result<()> {
|
2024-08-01 22:19:59 +02:00
|
|
|
dagger_sdk::connect(|client| async move {
|
|
|
|
RustTest::new(client.clone())
|
|
|
|
.test(
|
|
|
|
Some("testdata"),
|
|
|
|
RustVersion::Nightly,
|
|
|
|
&["crates/*"],
|
|
|
|
&["openssl"],
|
|
|
|
)
|
|
|
|
.await?;
|
|
|
|
|
|
|
|
Ok(())
|
|
|
|
})
|
|
|
|
.await?;
|
2023-08-12 19:50:30 +02:00
|
|
|
|
|
|
|
Ok(())
|
|
|
|
}
|