forked from alibaba/flutter-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cirrus.yml
32 lines (31 loc) · 895 Bytes
/
.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
task:
use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true' && $CIRRUS_PR == ''
container:
dockerfile: .ci/Dockerfile
cpu: 8
memory: 16G
pub_cache:
folder: ~/.pub-cache
setup_script:
- flutter channel stable
- flutter upgrade
build_script:
- flutter build apk
test_script: flutter test
task:
use_compute_credits: $CIRRUS_USER_COLLABORATOR == 'true'
osx_instance:
#image: mojave-xcode-10.2-flutter
image: mojave-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-12-2 | xargs xcrun simctl boot
build_script:
- flutter build ios --no-codesign
test_script: flutter test