forked from hanabi1224/flutter_appcenter_bundle
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.cirrus.yml
36 lines (36 loc) · 1.03 KB
/
.cirrus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
task:
container:
dockerfile: cirrusci/flutter
# cpu: 8
# memory: 16G
pub_cache:
folder: ~/.pub-cache
setup_script:
- java --version
test_script:
- cd flutter_appcenter_bundle/example
- flutter pub get
- flutter test
build_script:
- cd flutter_appcenter_bundle/example
- flutter build apk || echo 'ignore errors'
- ls build/app/outputs/flutter-apk
task:
osx_instance:
image: catalina-flutter
pub_cache:
folder: ~/.pub-cache
setup_script:
- pod repo update
- flutter channel stable
- flutter upgrade
create_simulator_script:
- xcrun simctl list
- xcrun simctl create Flutter-iPhone com.apple.CoreSimulator.SimDeviceType.iPhone-X com.apple.CoreSimulator.SimRuntime.iOS-14-2 | xargs xcrun simctl boot
test_script:
- cd flutter_appcenter_bundle/example
- flutter pub get
- flutter test
build_script:
- cd flutter_appcenter_bundle/example
- flutter build ios --no-codesign