From fe35e7c9fa36424e85bfbd7c84107e65dff7978c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Mon, 15 Aug 2022 16:28:17 +0200 Subject: [PATCH] ci: Test the experimental-algorithms feature of the crypto crate --- xtask/src/ci.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/xtask/src/ci.rs b/xtask/src/ci.rs index 1bed64273..46d6898b9 100644 --- a/xtask/src/ci.rs +++ b/xtask/src/ci.rs @@ -196,6 +196,18 @@ fn run_crypto_tests() -> Result<()> { .run()?; cmd!("rustup run stable cargo nextest run -p matrix-sdk-crypto --features=backups_v1").run()?; cmd!("rustup run stable cargo test --doc -p matrix-sdk-crypto --features=backups_v1").run()?; + cmd!( + "rustup run stable cargo clippy -p matrix-sdk-crypto --features=experimental-algorithms -- -D warnings" + ) + .run()?; + cmd!( + "rustup run stable cargo nextest run -p matrix-sdk-crypto --features=experimental-algorithms" + ).run()?; + cmd!( + "rustup run stable cargo test --doc -p matrix-sdk-crypto --features=experimental-algorithms" + ) + .run()?; + cmd!("rustup run stable cargo nextest run -p matrix-sdk-crypto-ffi").run()?; Ok(())