diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 83a56c7bcc8..67c8a566fbe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -223,6 +223,9 @@ jobs: - name: '[m], indexeddb stores, no crypto' cmd: matrix-sdk-indexeddb-stores-no-crypto + - name: '[m]-sdk-ui' + cmd: matrix-sdk-ui + steps: - name: Checkout the repo uses: actions/checkout@v4 diff --git a/xtask/src/ci.rs b/xtask/src/ci.rs index 56ac0f9a679..ef7870ea107 100644 --- a/xtask/src/ci.rs +++ b/xtask/src/ci.rs @@ -97,6 +97,8 @@ enum WasmFeatureSet { /// Equivalent to `indexeddb-all-features`, `indexeddb-crypto` and /// `indexeddb-state` Indexeddb, + /// Check `matrix-sdk-ui` crate + MatrixSdkUi, } impl CiArgs { @@ -312,6 +314,10 @@ fn run_wasm_checks(cmd: Option) -> Result<()> { WasmFeatureSet::IndexeddbState, "-p matrix-sdk-indexeddb --no-default-features --features state-store", ), + ( + WasmFeatureSet::MatrixSdkUi, + "-p matrix-sdk-ui --no-default-features --features matrix-sdk/js,matrix-sdk/rustls-tls,e2e-encryption", + ), ]); let run = |arg_set: &str| { @@ -374,6 +380,10 @@ fn run_wasm_pack_tests(cmd: Option) -> Result<()> { WasmFeatureSet::IndexeddbState, ("crates/matrix-sdk-indexeddb", "--no-default-features --features state-store"), ), + ( + WasmFeatureSet::MatrixSdkUi, + ("crates/matrix-sdk-ui", "--no-default-features --features matrix-sdk/js,matrix-sdk/rustls-tls,e2e-encryption"), + ), ]); let run = |(folder, arg_set): (&str, &str)| {