-
Notifications
You must be signed in to change notification settings - Fork 0
/
codemagic.yaml
51 lines (49 loc) · 1.53 KB
/
codemagic.yaml
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
# Automatically generated on 2021-01-29 UTC from https://codemagic.io/app/601454484ad38cb38d2ae548/settings
# Note that this configuration is not an exact match to UI settings. Review and adjust as necessary.
workflows:
default-workflow:
name: Default Workflow
max_build_duration: 60
environment:
flutter: stable
xcode: latest
cocoapods: default
vars:
triggering:
events:
- push
branch_patterns:
- pattern: '*master*'
include: true
source: false
scripts:
- |
# set up debug keystore
rm -f ~/.android/debug.keystore
keytool -genkeypair \
-alias androiddebugkey \
-keypass android \
-keystore ~/.android/debug.keystore \
-storepass android \
-dname 'CN=Android Debug,O=Android,C=US' \
-keyalg 'RSA' \
-keysize 2048 \
-validity 10000
- |
# set up local properties
echo "flutter.sdk=$HOME/programs/flutter" > "$FCI_BUILD_DIR/android/local.properties"
- cd . && flutter packages pub get
- cd . && flutter build apk --debug
- find . -name "Podfile" -execdir pod install \;
- cd . && flutter build ios --debug --no-codesign
artifacts:
- build/**/outputs/**/*.apk
- build/**/outputs/**/*.aab
- build/**/outputs/**/mapping.txt
- build/ios/ipa/*.ipa
- /tmp/xcodebuild_logs/*.log
- flutter_drive.log
publishing:
email:
recipients:
- steve@actionfinger.co.nz