Skip to content

Commit da74943

Browse files
[ci] Add LUCI version of iOS build-all (#3096)
This is the flutter/packages version of flutter/plugins#6984 to keep the CI changes in sync.
1 parent 2d05534 commit da74943

File tree

5 files changed

+41
-7
lines changed

5 files changed

+41
-7
lines changed

.ci.yaml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,27 @@ platform_properties:
4444
xcode: 14a5294e # xcode 14.0 beta 5
4545

4646
targets:
47+
### iOS tasks ###
48+
- name: Mac_arm64 ios_build_all_plugins master
49+
bringup: true
50+
recipe: packages/packages
51+
timeout: 30
52+
properties:
53+
add_recipes_cq: "true"
54+
version_file: flutter_master.version
55+
target_file: ios_build_all_packages.yaml
56+
channel: master
57+
58+
- name: Mac_arm64 ios_build_all_plugins stable
59+
bringup: true
60+
recipe: packages/packages
61+
timeout: 30
62+
properties:
63+
add_recipes_cq: "true"
64+
version_file: flutter_stable.version
65+
target_file: ios_build_all_packages.yaml
66+
channel: stable
67+
4768
### macOS desktop tasks ###
4869
# macos-platform_tests builds all the packages on ARM, so this build is run
4970
# on Intel to give us build coverage of both host types.
@@ -85,6 +106,7 @@ targets:
85106
target_file: mac_custom_package_tests.yaml
86107
channel: stable
87108

109+
### Windows desktop tasks ###
88110
- name: Windows custom_package_tests master - packages
89111
recipe: packages/packages
90112
timeout: 30
@@ -143,7 +165,7 @@ targets:
143165
timeout: 30
144166
properties:
145167
add_recipes_cq: "true"
146-
target_file: build_all_packages.yaml
168+
target_file: windows_build_all_packages.yaml
147169
channel: master
148170
version_file: flutter_master.version
149171
dependencies: >
@@ -156,7 +178,7 @@ targets:
156178
timeout: 30
157179
properties:
158180
add_recipes_cq: "true"
159-
target_file: build_all_packages.yaml
181+
target_file: windows_build_all_packages.yaml
160182
channel: stable
161183
version_file: flutter_stable.version
162184
dependencies: >

.ci/scripts/build_all_packages_app.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55

66
platform="$1"
77
build_mode="$2"
8+
shift 2
89
cd all_packages
9-
flutter build "$platform" --"$build_mode"
10+
flutter build "$platform" --"$build_mode" "$@"
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
tasks:
2+
- name: prepare tool
3+
script: .ci/scripts/prepare_tool.sh
4+
- name: create all_packages app
5+
script: .ci/scripts/create_all_packages_app.sh
6+
- name: build all_packages for iOS debug
7+
script: .ci/scripts/build_all_packages.sh
8+
args: ["ios", "debug", "--no-codesign"]
9+
- name: build all_packages for iOS release
10+
script: .ci/scripts/build_all_packages.sh
11+
args: ["ios", "release", "--no-codesign"]

.ci/targets/mac_build_all_packages.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ tasks:
33
script: .ci/scripts/prepare_tool.sh
44
- name: create all_packages app
55
script: .ci/scripts/create_all_packages_app.sh
6-
- name: build all_packages debug
6+
- name: build all_packages for macOS debug
77
script: .ci/scripts/build_all_packages_app.sh
88
args: ["macos", "debug"]
9-
- name: build all_plugins release
9+
- name: build all_plugins for macOS release
1010
script: .ci/scripts/build_all_packages_app.sh
1111
args: ["macos", "release"]

.ci/targets/build_all_packages.yaml renamed to .ci/targets/windows_build_all_packages.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ tasks:
33
script: .ci/scripts/prepare_tool.sh
44
- name: create all_packages app
55
script: .ci/scripts/create_all_packages_app.sh
6-
- name: build all_packages app debug
6+
- name: build all_packages app for Windows debug
77
script: .ci/scripts/build_all_packages_app.sh
88
args: ["windows", "debug"]
9-
- name: build all_plugins app release
9+
- name: build all_packages app for Windows release
1010
script: .ci/scripts/build_all_packages_app.sh
1111
args: ["windows", "release"]

0 commit comments

Comments
 (0)