Skip to content

Commit

Permalink
chore: wasm check in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
maan2003 committed Apr 15, 2024
1 parent f28f435 commit f4dd9c4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,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@v3
Expand Down
6 changes: 6 additions & 0 deletions xtask/src/ci.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ enum WasmFeatureSet {
/// Equivalent to `indexeddb-all-features`, `indexeddb-crypto` and
/// `indexeddb-state`
Indexeddb,
/// Check `matrix-sdk-ui` crate
MatrixSdkUi,
}

impl CiArgs {
Expand Down Expand Up @@ -303,6 +305,10 @@ fn run_wasm_checks(cmd: Option<WasmFeatureSet>) -> 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| {
Expand Down

0 comments on commit f4dd9c4

Please sign in to comment.