ci: Exclude ruma-macros feature from stable-all
This commit is contained in:
parent
43abef7e1f
commit
037e37c5e7
@ -174,7 +174,14 @@ impl CiTask {
|
|||||||
|
|
||||||
/// Check all crates with all features with the stable version.
|
/// Check all crates with all features with the stable version.
|
||||||
fn stable_all(&self) -> Result<()> {
|
fn stable_all(&self) -> Result<()> {
|
||||||
cmd!("rustup run stable cargo check --workspace --all-features").run().map_err(Into::into)
|
// ruma-macros is pulled in as a dependency, but excluding it on the command line means its
|
||||||
|
// features don't get activated. It has only a single feature, which is nightly-only.
|
||||||
|
cmd!(
|
||||||
|
"rustup run stable cargo check
|
||||||
|
--workspace --all-features --exclude ruma-macros"
|
||||||
|
)
|
||||||
|
.run()
|
||||||
|
.map_err(Into::into)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Check ruma-client without default features with the stable version.
|
/// Check ruma-client without default features with the stable version.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user