Fix CI to cross-check ruma-client and ruma-client-api
This commit is contained in:
parent
1e9f846722
commit
d988a77ac0
@ -44,7 +44,7 @@ impl CiTask {
|
|||||||
fn build_msrv(&self) -> Result<()> {
|
fn build_msrv(&self) -> Result<()> {
|
||||||
// Check all crates with all features except
|
// Check all crates with all features except
|
||||||
// * ruma (would pull in ruma-signatures)
|
// * 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)
|
// * ruma-signatures (MSRV exception)
|
||||||
// * xtask (no real reason to enforce an MSRV for it)
|
// * xtask (no real reason to enforce an MSRV for it)
|
||||||
cmd!(
|
cmd!(
|
||||||
@ -66,7 +66,7 @@ impl CiTask {
|
|||||||
fn build_stable(&self) -> Result<()> {
|
fn build_stable(&self) -> Result<()> {
|
||||||
// 1. Make sure everything compiles
|
// 1. Make sure everything compiles
|
||||||
cmd!("rustup run stable cargo check --workspace --all-features").run()?;
|
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()?;
|
cmd!("rustup run stable cargo check -p ruma-identifiers --no-default-features").run()?;
|
||||||
|
|
||||||
// 2. Run tests
|
// 2. Run tests
|
||||||
|
Loading…
x
Reference in New Issue
Block a user