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

This is the flutter/packages version of
https://github.com/flutter/plugins/pull/6984 to keep the CI changes in
sync.
diff --git a/.ci.yaml b/.ci.yaml
index 6ffb6e2..cc6bf24 100644
--- a/.ci.yaml
+++ b/.ci.yaml
@@ -44,6 +44,27 @@
       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.
@@ -85,6 +106,7 @@
       target_file: mac_custom_package_tests.yaml
       channel: stable
 
+  ### Windows desktop tasks ###
   - name: Windows custom_package_tests master - packages
     recipe: packages/packages
     timeout: 30
@@ -143,7 +165,7 @@
     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: >
@@ -156,7 +178,7 @@
     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: >
diff --git a/.ci/scripts/build_all_packages_app.sh b/.ci/scripts/build_all_packages_app.sh
index 89dab62..c22b983 100644
--- a/.ci/scripts/build_all_packages_app.sh
+++ b/.ci/scripts/build_all_packages_app.sh
@@ -5,5 +5,6 @@
 
 platform="$1"
 build_mode="$2"
+shift 2
 cd all_packages
-flutter build "$platform" --"$build_mode"
+flutter build "$platform" --"$build_mode" "$@"
diff --git a/.ci/targets/ios_build_all_packages.yaml b/.ci/targets/ios_build_all_packages.yaml
new file mode 100644
index 0000000..1e47411
--- /dev/null
+++ b/.ci/targets/ios_build_all_packages.yaml
@@ -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"]
diff --git a/.ci/targets/mac_build_all_packages.yaml b/.ci/targets/mac_build_all_packages.yaml
index 2140acc..8f7d00e 100644
--- a/.ci/targets/mac_build_all_packages.yaml
+++ b/.ci/targets/mac_build_all_packages.yaml
@@ -3,9 +3,9 @@
     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"]
diff --git a/.ci/targets/build_all_packages.yaml b/.ci/targets/windows_build_all_packages.yaml
similarity index 75%
rename from .ci/targets/build_all_packages.yaml
rename to .ci/targets/windows_build_all_packages.yaml
index 539b2a0..de30188 100644
--- a/.ci/targets/build_all_packages.yaml
+++ b/.ci/targets/windows_build_all_packages.yaml
@@ -3,9 +3,9 @@
     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"]