Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Enable Mac build_all_plugins #6671

Merged
merged 7 commits into from
Nov 9, 2022
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
24 changes: 24 additions & 0 deletions .ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ platform_properties:


targets:
### iOS+macOS tasks ***
# TODO(stuartmorgan): Move this to ARM once google_maps_flutter has ARM
# support. `pod lint` makes a synthetic target that doesn't respect the
# pod's arch exclusions, so fails to build.
Expand All @@ -51,6 +52,29 @@ targets:
version_file: flutter_master.version
target_file: mac_lint_podspecs.yaml

### macOS desktop tasks ###
# macos-platform_tests builds all the plugins on M1, so this build is run
# on Intel to give us build coverage of both host types.
- name: Mac_x64 build_all_plugins master
recipe: plugins/plugins
bringup: true # New target: https://github.com/flutter/plugins/pull/6671
timeout: 30
properties:
add_recipes_cq: "true"
version_file: flutter_master.version
target_file: mac_build_all_plugins.yaml
channel: master

- name: Mac_x64 build_all_plugins stable
recipe: plugins/plugins
bringup: true # New target: https://github.com/flutter/plugins/pull/6671
timeout: 30
properties:
add_recipes_cq: "true"
version_file: flutter_stable.version
target_file: mac_build_all_plugins.yaml
channel: stable

- name: Windows win32-platform_tests master
recipe: plugins/plugins
timeout: 30
Expand Down
5 changes: 3 additions & 2 deletions .ci/scripts/build_all_plugins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

platform="$1"
build_mode="$2"
cd all_packages
flutter build windows --debug
flutter build windows --release
flutter build "$platform" --"$build_mode"
6 changes: 5 additions & 1 deletion .ci/targets/build_all_plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,9 @@ tasks:
script: .ci/scripts/prepare_tool.sh
- name: create all_plugins app
script: .ci/scripts/create_all_plugins_app.sh
- name: build all_plugins
- name: build all_plugins debug
script: .ci/scripts/build_all_plugins.sh
args: ["windows", "debug"]
- name: build all_plugins release
script: .ci/scripts/build_all_plugins.sh
args: ["windows", "release"]
11 changes: 11 additions & 0 deletions .ci/targets/mac_build_all_plugins.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_plugins app
script: .ci/scripts/create_all_plugins_app.sh
- name: build all_plugins debug
script: .ci/scripts/build_all_plugins.sh
args: ["macos", "debug"]
- name: build all_plugins release
script: .ci/scripts/build_all_plugins.sh
args: ["macos", "release"]