@@ -2,7 +2,7 @@ version: 2.1
22
33orbs :
44 android :
circleci/[email protected] 5- flutter : circleci/flutter@2.0.2
5+ flutter : circleci/flutter@2.1.0
6677 advanced-checkout :
vsco/[email protected] 88@@ -38,7 +38,7 @@ commands:
3838 source $BASH_ENV
3939 - run :
4040 name : Install patrol
41- command : dart pub global activate patrol_cli 3.3 .0
41+ command : dart pub global activate patrol_cli 3.5 .0
4242 # This runs `flutter pub get` and `dart pub get` if we pass parameter `generate_pigeons` to the job it also runs the following:
4343 # - `sh ./scripts/pigeon.sh`
4444 # - `dart run build_runner build --delete-conflicting-outputs`
@@ -49,7 +49,12 @@ commands:
4949 remove_patrol :
5050 type : boolean
5151 default : false
52+ version :
53+ type : string
54+ default : " 3.24.0"
5255 steps :
56+ - flutter/install_sdk_and_pub :
57+ version : <<parameters.version>>
5358 - run :
5459 name : Install Flutter Packages
5560 command : flutter pub get --verbose
@@ -98,13 +103,15 @@ jobs:
98103 parameters :
99104 version :
100105 type : string
101- docker :
102- - image : cirrusci/flutter:<<parameters.version>>
106+ executor :
107+ name : android/android-machine
103108 steps :
104109 - advanced-checkout/shallow-checkout
105110 - install_flutter_and_dart_packages :
106111 generate_pigeons : true
107112 remove_patrol : true
113+ version : <<parameters.version>>
114+
108115 - run : flutter test --coverage
109116 - run :
110117 working_directory : coverage
@@ -159,30 +166,30 @@ jobs:
159166 -scheme Runner \
160167 -resultBundlePath coverage/result.xcresult \
161168 -sdk iphonesimulator \
162- -destination 'platform=iOS Simulator,name=iPhone 15 Pro Max,OS=17.2 ' \
169+ -destination 'platform=iOS Simulator,name=iPhone 16 Pro Max,OS=18.0 ' \
163170 -skip-testing:RunnerUITests \
164171 test | xcpretty
165172
166173 e2e_ios_patrol :
167174 macos :
168- xcode : 15.2 .0
175+ xcode : 16.0 .0
169176 resource_class : macos.m1.medium.gen1
170177 steps :
171178 - advanced-checkout/shallow-checkout
172179 - setup_ios
173180 - setup_patrol
174181 - ios/preboot-simulator :
175- version : " 17.2 "
176- device : " iPhone 15 Pro Max"
182+ version : " 18.0 "
183+ device : " iPhone 16 Pro Max"
177184 - ios/wait-until-simulator-booted
178185 - run :
179186 name : Run E2E Tests
180187 no_output_timeout : 30m
181188 working_directory : example
182189 command : patrol test -t integration_test/ --verbose
183190 format_flutter :
184- docker :
185- - image : cirrusci/flutter
191+ executor :
192+ name : android/android-machine
186193 steps :
187194 - advanced-checkout/shallow-checkout
188195 - install_flutter_and_dart_packages :
@@ -192,8 +199,8 @@ jobs:
192199 command : dart format . --set-exit-if-changed
193200
194201 lint_flutter :
195- docker :
196- - image : cirrusci/flutter
202+ executor :
203+ name : android/android-machine
197204 steps :
198205 - advanced-checkout/shallow-checkout
199206 - install_flutter_and_dart_packages :
@@ -203,8 +210,8 @@ jobs:
203210 command : flutter analyze
204211
205212 verify_pub :
206- docker :
207- - image : cirrusci/flutter
213+ executor :
214+ name : android/android-machine
208215 steps :
209216 - advanced-checkout/shallow-checkout
210217 - install_flutter_and_dart_packages :
0 commit comments