This repository has been archived by the owner on Mar 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 84
/
Copy pathcodemagic.yaml
142 lines (136 loc) · 18.8 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
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
# Automatically generated on 2020-09-06 UTC from https://codemagic.io/app/5d636daaf5035821fb723bc3/settings
# Note that this configuration is not an exact match to UI settings. Review and adjust as necessary.
workflows:
default-workflow:
name: Default Workflow
instance_type: mac_pro
max_build_duration: 60
environment:
vars:
IOS_FIREBASE_JSON: Encrypted(Z0FBQUFBQmZ3SzAxMUczR212d3pRemhxV2NZQnVhLS1MZ29PN2kwRWpyb2VUcXJlUF9qUmJtLTh3YVNFUUY3VjR0ZTZNWWZhUFBpdXNyeTVhY0otQzJId3RWZGFvOTF5UVlGV3VVR1dmakthaGZQa0RqLWQwdG5KVjJiTjFoTXF4OE5rTzhuOHR3dVJjSFAwZjI2TmRXRy1LWklMTTJRSy1nSGVJMnJwcHNjYjVZOEhqbU9KWVJTWTdQMEZuUHpoUGlCQjFka04wSDJic1pVWWhlb0VKcEtzRFI4LTJlV2RUcFRDRnFzanhnLVBkaUdVWGxTWHVNc3FxODk4dENDNFl2ZVVtTmNFQ1dnSzNTWnIxRDA2S1NlRjVvYl81SlFHZmFnd0NJRzJqNW82WXlpNm9JcjdDdV9NTWwxOTNXcHBUOEV5bnJLdEZucF9TcmFXZHJicEZkdUVVbVJDOFNEZmU5X0FpSDVrZl9DTUpNMlQ5bnZRZ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VWME1PdVpXYU9fS0hMYXlGa1lMWUU0NkN2cWNFRTYzNG01UTVGYUw0SDk1eURNaklPQ3RGT1p4NzFLZW16TE5KOEI3M2ZUNTRPWE1BdnJWaFVnX2hsVUowUkRLZjBGWG9KY1ZIVE40Q2ZnQWdRbXFkVzM0elBVVWR0b29SQlJmVUpDdU9iZXpTV2tiQjVVa3ExSllUa3V4cmZQclM0ZFNIaXV1Z0pYYUlsSVJ2aTl0cFM=)
flutter: stable
xcode: latest
cocoapods: 1.9.3
cache:
cache_paths:
- $HOME/.gradle/caches
- $HOME/Library/Caches/CocoaPods
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"
- |
# Get Flutter packages
cd . && flutter packages pub get
- |
# Testing
cd . && flutter test
- |
#!/bin/sh
# Checking for Firebase secrets
echo $ANDROID_FIREBASE_JSON | base64 --decode > $FCI_BUILD_DIR/android/app/google-services.json
echo "Listing android Directory to confirm the google-services.json is there! "
ls android/app/
echo $IOS_FIREBASE_JSON | base64 --decode > $FCI_BUILD_DIR/ios/Runner/GoogleService-Info.plist
echo "\nListing iOS Directory to confirm the GoogleService-Info.plist is there! "
ls ios/Runner/
- |
# Building Android
cd . && flutter build apk --debug
- |
# Building iOS
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:
android-workflow:
name: Android Workflow
max_build_duration: 60
environment:
vars:
ANDROID_FIREBASE_JSON: Encrypted(Z0FBQUFBQmZWT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pQNHZUM1IwWnRHU2lDQ1pzRDM3NjZJSVoxZjdDajBlX2lndTQ1YksxR0IxdnlTaEdyTnczMmxrblBIbTlKN2pmdVdZaXNrcnZFSE53VW1nYkRZaTZTYnFtRGRlV3ZCbENxZTY3SnpZOUwzdGhFV3BvbGRkcHlobjh4eGQwbnE0dlJhWlBob1BSVnlpQ1JFYjdwTG90b0x5MENZQ3ZFZjNic09MbzZSc0N2cEJ0cjlMUG1BenA4TXpJdTdERThDRWRsOEd4LXBDcVd4TG5jWmJIS0p1MVQ1d3FWenc9PQ==)
flutter: stable
xcode: latest
cocoapods: 1.9.3
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 test
- |
#!/bin/sh
echo $ANDROID_FIREBASE_JSON | base64 --decode > $FCI_BUILD_DIR/android/app/google-services.json
echo "Listing android Directory to confirm the google-services.json is there! "
ls android/app/
- cd . && flutter build apk --debug
artifacts:
- build/**/outputs/**/*.apk
- build/**/outputs/**/*.aab
- build/**/outputs/**/mapping.txt
- flutter_drive.log
publishing:
email:
recipients:
ios-workflow:
name: iOS Workflow
max_build_duration: 60
environment:
vars:
IOS_FIREBASE_JSON: Encrypted(Z0FBQUFBQmZWTzNBRzFVRVo0dkhvVWM4NllEcElmMDJ1cUVzNkZzT3hHZDQ1ejZGakZIT0pkd3RXOXFkbjNVZy1lQzdlWlFMQUVuUWJabFFDUzNPWVZ3VnVlSkJHYzZycjF6Q1JCUEJYMVhmalVHZ3NXR3BjU3M2SUlPYjU4VHR2LV9XRFkxOU5ZbnBVQzNHUWFzS1dBVEdDaU9zQklJeC1mOTBJYUlwblU0SndXZWo0R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VkpTMWt4WkZaZVhERi1uT1RockZJdXFxaHcyQ3NpSGxOblNMZHZ3eFN4Tk5mNk1qSVV6N3hTRmp5Z3F6RHJJQ2gyMFVIMVhxbTBza1VXN1pGb0lCUi1JVWNoajdlT0h3Nkp0SFVoT2I5UVJuUTIyTk9iRDJYYmtlcTBCWlV1dG81U2ZmWG85dUNnck1uc0NzN3QzSmstNE45dkxDdjdMVFphRnBxTUVOclpyTnFGMjl1ZHc0Zl9XYU5jRGtzLUZwRWo1WTZXSUl6LVhQbndGOWlFUGtoN3RIV2lpU1dlRDN1ZnNXa0xLY3NxU08yeVdwajFuYW5iYlNzZTdjRjhubldfVDVZNkU5bU80NzR3WXlfdVluVk9zQ1JxM0VjcWc4aUhJblY3V29FZWt6U0FNVFJ3R19zdk5kWnRCVFdHRHZJbXJkX1Y5OXdCbGhiUVk5SjRIWjMzc0ZaWFczTjhkNU9CdTZ6ME53YTdETHU3QXlaYVVHM29QS3RpRjVWSmU4ZFc5REE5VE83d09nVlVzdGNvOEdBSnpMalZjQ3NlZXE2MEpiZVJLUkZiNmJGVk8zcEN1SGk2OW9Ec2FuU3dMTF9MSHVBTWxCQmVRUDJqbWZfVGFfOUFrcHdQTlNBYS1NTDBpZk1odUVJeWV5WXU2cmNRbXRWaE8tMXk2WS1EcElKT2N0eGVQb3JkNEpjRTZiNHIxXzlsdnBmZE15azZ2UVBYeWo5eVVWZmRNWkUxQzA5VEZ1RTNSVEhTSzlnanlpMXNKbHRFNzJyQ2dsUzNQUWlkcklhNGk0VTg0bG9KVGx2RDMwdnZueGNqVU15Q0MtUTlYNVZUcVM5RnJEMHRieHkxcWI0VFpVV3E0LS1Eb0hwOWxXQTJiUkxiQWxCLU12MVhyV1F4c1NEdWZ1WWM3ejdReHliVi11WndRPT0=)
flutter: stable
xcode: latest
cocoapods: default
scripts:
- cd . && flutter packages pub get
- cd . && flutter test
- |
#!/bin/sh
echo $IOS_FIREBASE_JSON | base64 --decode > $FCI_BUILD_DIR/ios/Runner/GoogleService-Info.plist
echo "\nListing iOS Directory to confirm the GoogleService-Info.plist is there! "
ls ios/Runner/
- find . -name "Podfile" -execdir pod install \;
- cd . && flutter build ios --debug --no-codesign
artifacts:
- build/ios/ipa/*.ipa
- /tmp/xcodebuild_logs/*.log
- flutter_drive.log
publishing:
email:
recipients: