forked from fluttercommunity/flutter_workmanager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.cirrus.yml
31 lines (30 loc) · 755 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
task:
container:
dockerfile: .ci/Dockerfile
cpu: 8
memory: 16G
pub_cache:
folder: ~/.pub-cache
setup_script:
- flutter channel stable
- flutter upgrade
build_script:
- cd example
- flutter build apk
test_script: flutter test
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-13-5 | xargs xcrun simctl boot
build_script:
- cd example
- flutter build ios --no-codesign
test_script: flutter test