Skip to content

Commit bd6e9bf

Browse files
franciscojma86Egor
authored andcommitted
[CI] Adds task to build and test plugins with macos implementations (flutter#2334)
1 parent fc41182 commit bd6e9bf

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.cirrus.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,3 +124,29 @@ task:
124124
- flutter channel $CHANNEL
125125
- ./script/incremental_build.sh build-examples --ipa
126126
- ./script/incremental_build.sh drive-examples
127+
task:
128+
use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true'
129+
osx_instance:
130+
image: mojave-xcode-11.2.1-flutter
131+
setup_script:
132+
- pod repo update
133+
- flutter config --enable-macos-desktop
134+
upgrade_script:
135+
- flutter channel master
136+
- flutter upgrade
137+
- git fetch origin master
138+
activate_script: pub global activate flutter_plugin_tools
139+
matrix:
140+
- name: build_all_plugins_app
141+
script:
142+
- flutter channel master
143+
- ./script/build_all_plugins_app.sh macos
144+
- name: lint_darwin_plugins
145+
script: ./script/lint_darwin_plugins.sh
146+
- name: build-apps+drive-examples
147+
env:
148+
PATH: $PATH:/usr/local/bin
149+
build_script:
150+
- flutter channel master
151+
- ./script/incremental_build.sh build-examples --macos --no-ipa
152+
- ./script/incremental_build.sh drive-examples --macos

0 commit comments

Comments
 (0)