-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Enable Mac build_all_plugins
#6671
Changes from 5 commits
360cd73
a493c06
a6ad527
bc44a84
08e05f8
97e3c33
48c1e1d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,6 +3,11 @@ | |
| # Use of this source code is governed by a BSD-style license that can be | ||
| # found in the LICENSE file. | ||
|
|
||
| arg="$1" | ||
| cd all_packages | ||
| flutter build windows --debug | ||
| flutter build windows --release | ||
| if [[ "$arg" == "web" ]]; then | ||
| echo "Skipping; web does not support debug builds" | ||
| else | ||
| flutter build "$arg" --debug | ||
| flutter build "$arg" --release | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Makes sense to me. Updated to accept those two args. |
||
| fi | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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"] | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| tasks: | ||
| - name: prepare tool | ||
| script: .ci/scripts/prepare_tool.sh | ||
| - name: create all_plugins app | ||
| script: .ci/scripts/create_all_plugins_app.sh | ||
| - name: build all_plugins | ||
| script: .ci/scripts/build_all_plugins.sh | ||
| args: ["macos"] |
There was a problem hiding this comment.
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.There was a problem hiding this comment.
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
webcase will be handled with a comment for the debug mode.