@@ -2,7 +2,7 @@ version: 2.1
2
2
3
3
orbs :
4
4
android :
circleci/[email protected]
5
- flutter : circleci/flutter@2.0.2
5
+ flutter : circleci/flutter@2.1.0
6
6
7
7
advanced-checkout :
vsco/[email protected]
8
8
@@ -38,7 +38,7 @@ commands:
38
38
source $BASH_ENV
39
39
- run :
40
40
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
42
42
# This runs `flutter pub get` and `dart pub get` if we pass parameter `generate_pigeons` to the job it also runs the following:
43
43
# - `sh ./scripts/pigeon.sh`
44
44
# - `dart run build_runner build --delete-conflicting-outputs`
@@ -49,7 +49,12 @@ commands:
49
49
remove_patrol :
50
50
type : boolean
51
51
default : false
52
+ version :
53
+ type : string
54
+ default : " 3.24.0"
52
55
steps :
56
+ - flutter/install_sdk_and_pub :
57
+ version : <<parameters.version>>
53
58
- run :
54
59
name : Install Flutter Packages
55
60
command : flutter pub get --verbose
@@ -98,13 +103,15 @@ jobs:
98
103
parameters :
99
104
version :
100
105
type : string
101
- docker :
102
- - image : cirrusci/flutter:<<parameters.version>>
106
+ executor :
107
+ name : android/android-machine
103
108
steps :
104
109
- advanced-checkout/shallow-checkout
105
110
- install_flutter_and_dart_packages :
106
111
generate_pigeons : true
107
112
remove_patrol : true
113
+ version : <<parameters.version>>
114
+
108
115
- run : flutter test --coverage
109
116
- run :
110
117
working_directory : coverage
@@ -159,30 +166,30 @@ jobs:
159
166
-scheme Runner \
160
167
-resultBundlePath coverage/result.xcresult \
161
168
-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 ' \
163
170
-skip-testing:RunnerUITests \
164
171
test | xcpretty
165
172
166
173
e2e_ios_patrol :
167
174
macos :
168
- xcode : 15.2 .0
175
+ xcode : 16.0 .0
169
176
resource_class : macos.m1.medium.gen1
170
177
steps :
171
178
- advanced-checkout/shallow-checkout
172
179
- setup_ios
173
180
- setup_patrol
174
181
- ios/preboot-simulator :
175
- version : " 17.2 "
176
- device : " iPhone 15 Pro Max"
182
+ version : " 18.0 "
183
+ device : " iPhone 16 Pro Max"
177
184
- ios/wait-until-simulator-booted
178
185
- run :
179
186
name : Run E2E Tests
180
187
no_output_timeout : 30m
181
188
working_directory : example
182
189
command : patrol test -t integration_test/ --verbose
183
190
format_flutter :
184
- docker :
185
- - image : cirrusci/flutter
191
+ executor :
192
+ name : android/android-machine
186
193
steps :
187
194
- advanced-checkout/shallow-checkout
188
195
- install_flutter_and_dart_packages :
@@ -192,8 +199,8 @@ jobs:
192
199
command : dart format . --set-exit-if-changed
193
200
194
201
lint_flutter :
195
- docker :
196
- - image : cirrusci/flutter
202
+ executor :
203
+ name : android/android-machine
197
204
steps :
198
205
- advanced-checkout/shallow-checkout
199
206
- install_flutter_and_dart_packages :
@@ -203,8 +210,8 @@ jobs:
203
210
command : flutter analyze
204
211
205
212
verify_pub :
206
- docker :
207
- - image : cirrusci/flutter
213
+ executor :
214
+ name : android/android-machine
208
215
steps :
209
216
- advanced-checkout/shallow-checkout
210
217
- install_flutter_and_dart_packages :
0 commit comments