-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci] Split build_all_packages by JDK version. (#7106)
This PR introduces a new `android_build_all_packages_legacy` in `master` and `stable` to build only the "legacy" version of an Android project using JDK11. This PR is required to resume rolling the flutter framework, like here: * #7099
- Loading branch information
Showing
4 changed files
with
81 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# This only builds the modern all_packages app, which requires jdk17+ | ||
tasks: | ||
- name: prepare tool | ||
script: .ci/scripts/prepare_tool.sh | ||
infra_step: true # Note infra steps failing prevents "always" from running. | ||
- name: create all_packages app | ||
script: .ci/scripts/create_all_packages_app.sh | ||
infra_step: true # Note infra steps failing prevents "always" from running. | ||
- name: build all_packages for Android debug | ||
script: .ci/scripts/build_all_packages_app.sh | ||
args: ["apk", "debug"] | ||
- name: build all_packages for Android release | ||
script: .ci/scripts/build_all_packages_app.sh | ||
args: ["apk", "release"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# This only builds the legacy all_packages app, which requires jdk11 | ||
tasks: | ||
- name: prepare tool | ||
script: .ci/scripts/prepare_tool.sh | ||
infra_step: true # Note infra steps failing prevents "always" from running. | ||
- name: create all_packages app - legacy version | ||
script: .ci/scripts/create_all_packages_app_legacy.sh | ||
# Output dir; must match the final argument to build_all_packages_app_legacy | ||
# below. | ||
args: ["legacy"] | ||
# Only build legacy in one mode, to minimize extra CI time. Debug is chosen | ||
# somewhat arbitrarily as likely being slightly faster. | ||
- name: build all_packages for Android - legacy version | ||
script: .ci/scripts/build_all_packages_app_legacy.sh | ||
# The final argument here must match the output directory passed to | ||
# create_all_packages_app_legacy above. | ||
args: ["apk", "debug", "legacy"] |