Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Enable Mac build_all_plugins #6671

Merged
merged 7 commits into from
Nov 9, 2022
Merged

Conversation

@keyonghan keyonghan marked this pull request as draft November 4, 2022 20:45
@@ -5,3 +5,4 @@ tasks:
script: .ci/scripts/create_all_plugins_app.sh
- name: build all_plugins
script: .ci/scripts/build_all_plugins.sh
args: ["windows"]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Didn't find an easy way to inject Env. variable to yaml. It would be nice to consolidate different platforms when recipes has a good support on yaml Env. parser. For now, I am using separate .yaml targets for different platforms.

@keyonghan keyonghan marked this pull request as ready for review November 7, 2022 18:24
cd all_packages
flutter build windows --debug
flutter build windows --release
if [[ "$arg" == "web" ]]; then
Copy link
Contributor

Choose a reason for hiding this comment

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

This is skipping everything on web, rather than just skipping debug.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch! With changes to the other comment, this is resolved and web case will be handled with a comment for the debug mode.

echo "Skipping; web does not support debug builds"
else
flutter build "$arg" --debug
flutter build "$arg" --release
Copy link
Contributor

Choose a reason for hiding this comment

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

Although relatedly, I didn't consider this before: in Cirrus I have this as two different script steps because it means that the output for each part is clearly separated in the results UI. That's much more usable than having to scroll through a bunch of output with multiple runs and the failure somewhere in the middle.

I think for LUCI the best option would be to make this take two args, the platform and the build mode, then have the yaml file call it twice, each from a separate task. Then the web logic doesn't need to be here at all, it would just be a comment in a future web_build_all_plugins.yaml about why it's not doing debug like the other platforms.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Makes sense to me. Updated to accept those two args.

Copy link
Contributor

@stuartmorgan stuartmorgan left a comment

Choose a reason for hiding this comment

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

LGTM!

@keyonghan keyonghan added the autosubmit Merge PR when tree becomes green via auto submit App label Nov 9, 2022
@auto-submit auto-submit bot merged commit 6da73be into flutter:main Nov 9, 2022
IVLIVS-III pushed a commit to IVLIVS-III/flutter_plugins_fork that referenced this pull request Nov 11, 2022
* general build_all_plugins

* add separate macos

* add arg for windows

* add targets

* udpate version file

* platform & build_mode args

* map docs from cirrus
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 15, 2022
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Nov 15, 2022
* 79d62f726 Roll Flutter from 5ea5a53 to a1289a4 (7 revisions) (flutter/plugins#6677)

* 910b61d1b Roll Flutter from a1289a4 to a1432a9 (23 revisions) (flutter/plugins#6681)

* 58579201e Roll Flutter from a1432a9 to d3dcd7d (8 revisions) (flutter/plugins#6684)

* 6da73be00 Enable `Mac build_all_plugins` (flutter/plugins#6671)

* cc4ffaebd Update flutter cirrus key (flutter/plugins#6687)

* f35c16930 Roll Flutter from d3dcd7d to c7d1154 (13 revisions) (flutter/plugins#6689)

* 553dac8b2 Roll Flutter from c7d1154 to 098aac7 (24 revisions) (flutter/plugins#6692)

* 11cb48366 Roll Flutter (stable) from e99c9c7 to 52b3dc2 (4 revisions) (flutter/plugins#6690)

* b1c457fc9 Roll Flutter from 098aac7 to 61e927d (16 revisions) (flutter/plugins#6694)

* e500884c7 Enable Mac ios_platform_tests tests (flutter/plugins#6682)
adam-harwood pushed a commit to adam-harwood/flutter_plugins that referenced this pull request Nov 21, 2022
* general build_all_plugins

* add separate macos

* add arg for windows

* add targets

* udpate version file

* platform & build_mode args

* map docs from cirrus
shogohida pushed a commit to shogohida/flutter that referenced this pull request Dec 7, 2022
…r#115366)

* 79d62f726 Roll Flutter from 5ea5a53 to a1289a4 (7 revisions) (flutter/plugins#6677)

* 910b61d1b Roll Flutter from a1289a4 to a1432a9 (23 revisions) (flutter/plugins#6681)

* 58579201e Roll Flutter from a1432a9 to d3dcd7d (8 revisions) (flutter/plugins#6684)

* 6da73be00 Enable `Mac build_all_plugins` (flutter/plugins#6671)

* cc4ffaebd Update flutter cirrus key (flutter/plugins#6687)

* f35c16930 Roll Flutter from d3dcd7d to c7d1154 (13 revisions) (flutter/plugins#6689)

* 553dac8b2 Roll Flutter from c7d1154 to 098aac7 (24 revisions) (flutter/plugins#6692)

* 11cb48366 Roll Flutter (stable) from e99c9c7 to 52b3dc2 (4 revisions) (flutter/plugins#6690)

* b1c457fc9 Roll Flutter from 098aac7 to 61e927d (16 revisions) (flutter/plugins#6694)

* e500884c7 Enable Mac ios_platform_tests tests (flutter/plugins#6682)
gspencergoog pushed a commit to gspencergoog/flutter that referenced this pull request Jan 19, 2023
…r#115366)

* 79d62f726 Roll Flutter from 5ea5a53 to a1289a4 (7 revisions) (flutter/plugins#6677)

* 910b61d1b Roll Flutter from a1289a4 to a1432a9 (23 revisions) (flutter/plugins#6681)

* 58579201e Roll Flutter from a1432a9 to d3dcd7d (8 revisions) (flutter/plugins#6684)

* 6da73be00 Enable `Mac build_all_plugins` (flutter/plugins#6671)

* cc4ffaebd Update flutter cirrus key (flutter/plugins#6687)

* f35c16930 Roll Flutter from d3dcd7d to c7d1154 (13 revisions) (flutter/plugins#6689)

* 553dac8b2 Roll Flutter from c7d1154 to 098aac7 (24 revisions) (flutter/plugins#6692)

* 11cb48366 Roll Flutter (stable) from e99c9c7 to 52b3dc2 (4 revisions) (flutter/plugins#6690)

* b1c457fc9 Roll Flutter from 098aac7 to 61e927d (16 revisions) (flutter/plugins#6694)

* e500884c7 Enable Mac ios_platform_tests tests (flutter/plugins#6682)
mauricioluz pushed a commit to mauricioluz/plugins that referenced this pull request Jan 26, 2023
* general build_all_plugins

* add separate macos

* add arg for windows

* add targets

* udpate version file

* platform & build_mode args

* map docs from cirrus
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autosubmit Merge PR when tree becomes green via auto submit App
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants