Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Use --feature-powerset --depth 2 instead of --each-feature #2277

Merged
merged 1 commit into from
Dec 2, 2020

Conversation

taiki-e
Copy link
Member

@taiki-e taiki-e commented Dec 1, 2020

This patch increases feature combinations to be checked (total of all public crates) from 69 to 210.

We have too many features to check the full powerset (1457!), so limit the max number of simultaneous feature flags by --depth option. I think this should be sufficient in most cases as explained in taiki-e/cargo-hack#58.

It took about 8-9 minutes to run in locally, but let's see how long it takes in CI... (If it's less than 10 minutes, it's probably okay to merge as windows CI takes about 8 minutes.)

FYI: @Nemo157 @jhpratt

@taiki-e taiki-e marked this pull request as ready for review December 1, 2020 05:50
@taiki-e
Copy link
Member Author

taiki-e commented Dec 1, 2020

This takes about 9 minutes in CI (install 40s + check 8m). Given cargo-hack installation time can be reduced by installing from GitHub release (and Travis does not return status for an hour), this is probably okay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant