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

Add cpu dimension support when parsing ci yaml #1731

Merged
merged 2 commits into from
Apr 14, 2022

Conversation

keyonghan
Copy link
Contributor

Instead of using mac_model, it is recommended to use cpu+os. This PR adds cpu dimension support defined in .ci.yaml config, which will help validate changes in pre-submit.

Related: https://flutter-review.googlesource.com/c/infra/+/29061

context: flutter/flutter#101871, flutter/flutter#101861

@@ -36,7 +36,7 @@ class Target {
static const List<String> iosPlatforms = <String>['mac_ios', 'mac_ios32'];

/// Dimension list defined in .ci.yaml.
static List<String> dimensionList = <String>['os', 'device_os', 'device_type', 'mac_model', 'cores'];
static List<String> dimensionList = <String>['os', 'device_os', 'device_type', 'mac_model', 'cores', 'cpu'];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a test?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added.

@keyonghan keyonghan added the waiting for tree to go green Merge PR when tree becomes green via fluttergithubbot label Apr 14, 2022
@fluttergithubbot fluttergithubbot merged commit adc04c8 into flutter:main Apr 14, 2022
@keyonghan keyonghan deleted the support_cpu_dimension branch March 13, 2024 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for tree to go green Merge PR when tree becomes green via fluttergithubbot
Projects
None yet
4 participants