-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathconfig.yml
102 lines (94 loc) · 2.33 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
100
101
102
executors:
android:
docker:
- image: cimg/android:2022.06
default:
docker:
- image: cimg/base:stable
macos:
macos:
xcode: 14.2.0
resource_class: macos.x86.medium.gen2
jobs:
# ------------ Android ------------
build-adhoc-android:
executor: android
steps:
- checkout
- flutter-orb/install_sdk_and_pub:
flutter_version: 3.19.2
- run:
command: bundle install
working_directory: android
- run:
command: bundle exec fastlane adhoc
working_directory: android
build-internal-testing-android:
executor: android
steps:
- checkout
- flutter-orb/install_sdk_and_pub:
flutter_version: 3.19.2
- run:
command: bundle install
working_directory: android
- run:
command: bundle exec fastlane beta
working_directory: android
# ------------ iOS ------------
build-testflight-ios:
executor: macos
steps:
- checkout
- flutter-orb/install_sdk_and_pub:
flutter_version: 3.19.2
- add_ssh_keys:
fingerprints:
- "1e:aa:ca:d0:51:51:c1:1b:e0:f1:b8:e2:31:b0:0d:f1"
- run:
command: bundle install && pod install
working_directory: ios
- run:
command: bundle exec fastlane beta
working_directory: ios
build-adhoc-ios:
executor: macos
steps:
- checkout
- flutter-orb/install_sdk_and_pub:
flutter_version: 3.19.2
- add_ssh_keys:
fingerprints:
- "1e:aa:ca:d0:51:51:c1:1b:e0:f1:b8:e2:31:b0:0d:f1"
- run:
command: bundle install && pod install
working_directory: ios
- run:
command: bundle exec fastlane adhoc
working_directory: ios
orbs:
flutter-orb: circleci/[email protected]
version: 2.1
workflows:
build-app:
jobs:
- build-internal-testing-android:
filters:
branches:
only:
- main
- build-adhoc-android:
filters:
branches:
only:
- dev
- build-testflight-ios:
filters:
branches:
only:
- main
- build-adhoc-ios:
filters:
branches:
only:
- dev