Skip to content

[ci] Add LUCI version of iOS build-all #3096

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

Merged
merged 1 commit into from
Jan 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 24 additions & 2 deletions .ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,27 @@ platform_properties:
xcode: 14a5294e # xcode 14.0 beta 5

targets:
### iOS tasks ###
- name: Mac_arm64 ios_build_all_plugins master
bringup: true
recipe: packages/packages
timeout: 30
properties:
add_recipes_cq: "true"
version_file: flutter_master.version
target_file: ios_build_all_packages.yaml
channel: master

- name: Mac_arm64 ios_build_all_plugins stable
bringup: true
recipe: packages/packages
timeout: 30
properties:
add_recipes_cq: "true"
version_file: flutter_stable.version
target_file: ios_build_all_packages.yaml
channel: stable

### macOS desktop tasks ###
# macos-platform_tests builds all the packages on ARM, so this build is run
# on Intel to give us build coverage of both host types.
Expand Down Expand Up @@ -85,6 +106,7 @@ targets:
target_file: mac_custom_package_tests.yaml
channel: stable

### Windows desktop tasks ###
- name: Windows custom_package_tests master - packages
recipe: packages/packages
timeout: 30
Expand Down Expand Up @@ -143,7 +165,7 @@ targets:
timeout: 30
properties:
add_recipes_cq: "true"
target_file: build_all_packages.yaml
target_file: windows_build_all_packages.yaml
channel: master
version_file: flutter_master.version
dependencies: >
Expand All @@ -156,7 +178,7 @@ targets:
timeout: 30
properties:
add_recipes_cq: "true"
target_file: build_all_packages.yaml
target_file: windows_build_all_packages.yaml
channel: stable
version_file: flutter_stable.version
dependencies: >
Expand Down
3 changes: 2 additions & 1 deletion .ci/scripts/build_all_packages_app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@

platform="$1"
build_mode="$2"
shift 2
cd all_packages
flutter build "$platform" --"$build_mode"
flutter build "$platform" --"$build_mode" "$@"
11 changes: 11 additions & 0 deletions .ci/targets/ios_build_all_packages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
tasks:
- name: prepare tool
script: .ci/scripts/prepare_tool.sh
- name: create all_packages app
script: .ci/scripts/create_all_packages_app.sh
- name: build all_packages for iOS debug
script: .ci/scripts/build_all_packages.sh
args: ["ios", "debug", "--no-codesign"]
- name: build all_packages for iOS release
script: .ci/scripts/build_all_packages.sh
args: ["ios", "release", "--no-codesign"]
4 changes: 2 additions & 2 deletions .ci/targets/mac_build_all_packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ tasks:
script: .ci/scripts/prepare_tool.sh
- name: create all_packages app
script: .ci/scripts/create_all_packages_app.sh
- name: build all_packages debug
- name: build all_packages for macOS debug
script: .ci/scripts/build_all_packages_app.sh
args: ["macos", "debug"]
- name: build all_plugins release
- name: build all_plugins for macOS release
script: .ci/scripts/build_all_packages_app.sh
args: ["macos", "release"]
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ tasks:
script: .ci/scripts/prepare_tool.sh
- name: create all_packages app
script: .ci/scripts/create_all_packages_app.sh
- name: build all_packages app debug
- name: build all_packages app for Windows debug
script: .ci/scripts/build_all_packages_app.sh
args: ["windows", "debug"]
- name: build all_plugins app release
- name: build all_packages app for Windows release
script: .ci/scripts/build_all_packages_app.sh
args: ["windows", "release"]