-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodemagic.yaml
More file actions
64 lines (63 loc) · 1.74 KB
/
Copy pathcodemagic.yaml
File metadata and controls
64 lines (63 loc) · 1.74 KB
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
workflows:
ios-unsigned:
name: iOS (unsigned)
instance_type: mac_mini_m2
max_build_duration: 60
environment:
flutter: stable
xcode: latest
scripts:
- name: Flutter pub get
script: |
flutter pub get
- name: Build iOS (release, no codesign)
script: |
flutter build ios --release --no-codesign
- name: Package unsigned .ipa
script: |
cd build/ios/iphoneos
mkdir -p Payload
cp -r Runner.app Payload/
zip -r -y "$CM_BUILD_DIR/falconview-ios-unsigned.ipa" Payload
artifacts:
- falconview-ios-unsigned.ipa
- build/ios/iphoneos/Runner.app
publishing:
email:
recipients:
- tarun@igismap.com
notify:
success: true
failure: true
macos-unsigned:
name: macOS (unsigned)
instance_type: mac_mini_m2
max_build_duration: 60
environment:
flutter: stable
xcode: latest
scripts:
- name: Flutter pub get
script: |
flutter pub get
- name: Enable macOS desktop
script: |
flutter config --enable-macos-desktop
- name: Build macOS (release, no codesign)
script: |
flutter build macos --release
- name: Zip the .app
script: |
APP_PATH=$(find build/macos/Build/Products/Release -maxdepth 1 -name "*.app" | head -1)
cd "$(dirname "$APP_PATH")"
zip -r -y "$CM_BUILD_DIR/falconview-macos.zip" "$(basename "$APP_PATH")"
artifacts:
- falconview-macos.zip
- build/macos/Build/Products/Release/*.app
publishing:
email:
recipients:
- tarun@igismap.com
notify:
success: true
failure: true