This repository has been archived by the owner on Aug 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
config.yml
99 lines (93 loc) · 2.55 KB
/
config.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
version: 2.1
orbs:
android: circleci/[email protected]
flutter-orb: circleci/[email protected]
ruby: circleci/[email protected]
macos: circleci/[email protected]
jobs:
integration_test_android:
executor:
name: android/android-machine
resource-class: xlarge
tag: 2022.03.1
steps:
- checkout
- flutter-orb/install_sdk_and_pub:
cache-version: machine
flutter_version: 2.10.3
- android/create-avd:
avd-name: flutter
install: true
system-image: system-images;android-29;default;x86
- android/start-emulator:
avd-name: flutter
post-emulator-launch-assemble-command: 'flutter build apk --debug'
restore-gradle-cache-find-args: ./android -name 'build.gradle'
- android/run-tests:
test-command: flutter drive --target=test_driver/app.dart
- store_artifacts:
path: ozzie
distribute_android:
executor:
name: android/android-docker
resource-class: xlarge
tag: 2022.03.1
steps:
- checkout
- flutter-orb/install_sdk_and_pub:
cache-version: docker
flutter_version: 2.10.3
- flutter-orb/install_android_gradle
- ruby/install-deps:
app-dir: android
key: android
- run:
command: bundle exec fastlane distribute_debug
working_directory: android
integration_test_ios:
macos:
xcode: 13.3.0
resource_class: large
steps:
- checkout
- macos/preboot-simulator:
device: iPhone 13
version: "15.4"
- flutter-orb/install_sdk_and_pub:
flutter_version: 2.10.3
- flutter-orb/install_ios_pod
- run:
name: Integration Test
command: flutter drive --target=test_driver/app.dart
- store_artifacts:
path: ozzie
distribute_ios:
macos:
xcode: 13.3.0
resource_class: large
steps:
- checkout
- flutter-orb/install_sdk_and_pub:
flutter_version: 2.10.3
- flutter-orb/install_ios_pod
- ruby/install-deps:
app-dir: ios
key: ios
- run:
command: bundle exec fastlane distribute_debug
working_directory: ios
workflows:
test_and_distribute:
jobs:
- flutter-orb/unit_test:
version: 2.10.3
- flutter-orb/lint:
version: 2.10.3
- integration_test_ios
- distribute_ios:
context:
- mobile
- integration_test_android
- distribute_android:
context: # Context
- mobile