ci: Update msrv job

This commit is contained in:
Jonas Platte 2021-05-16 00:06:19 +02:00
parent f77b49d4b8
commit d43bfe6f7c
No known key found for this signature in database
GPG Key ID: 7D261D771D915378

View File

@ -38,8 +38,24 @@ impl CiTask {
}
fn build_msrv(&self) -> xshell::Result<()> {
let _p = pushd("crates/ruma")?;
cmd!("rustup run {MSRV} cargo build --features full").run()
// Check all crates with all features except
// * ruma (all-features would include the other crates)
// * ruma-client (due to transitive ring dependency which only supports latest stable)
// * ruma-signatures (for the same reason)
// * ruma-state-res (initially exempt from MSRV policy)
// * xtask (no real reason to enforce an MSRV for it)
cmd!(
"rustup run {MSRV} cargo check --workspace --all-features
--exclude ruma
--exclude ruma-client
--exclude ruma-signatures
--exclude ruma-state-res
--exclude xtask"
)
.run()?;
// Check ruma crate with default features
cmd!("rustup run {MSRV} cargo check -p ruma").run()
}
fn build_stable(&self) -> xshell::Result<()> {