Fix CI to cross-check ruma-client and ruma-client-api

This commit is contained in:
Isaiah Inuwa 2021-11-23 22:12:03 -06:00 committed by iinuwa
parent 1e9f846722
commit d988a77ac0

View File

@ -44,7 +44,7 @@ impl CiTask {
fn build_msrv(&self) -> Result<()> {
// Check all crates with all features except
// * ruma (would pull in ruma-signatures)
// * ruma-client (tested with default features due to optional HTTP client deps)
// * ruma-client (tested only with client-api feature due to optional HTTP client deps)
// * ruma-signatures (MSRV exception)
// * xtask (no real reason to enforce an MSRV for it)
cmd!(
@ -66,7 +66,7 @@ impl CiTask {
fn build_stable(&self) -> Result<()> {
// 1. Make sure everything compiles
cmd!("rustup run stable cargo check --workspace --all-features").run()?;
cmd!("rustup run stable cargo check -p ruma-client --no-default-features").run()?;
cmd!("rustup run stable cargo check -p ruma-client --no-default-features --features client-api").run()?;
cmd!("rustup run stable cargo check -p ruma-identifiers --no-default-features").run()?;
// 2. Run tests