[go: nahoru, domu]

Skip to content

Commit

Permalink
[ci] Add LUCI version of iOS build-all (flutter#3096)
Browse files Browse the repository at this point in the history
This is the flutter/packages version of
flutter/plugins#6984 to keep the CI changes in
sync.
  • Loading branch information
stuartmorgan authored and Maatteogekko committed Feb 4, 2023
1 parent 4a39070 commit b29e3bb
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 7 deletions.
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"]

0 comments on commit b29e3bb

Please sign in to comment.