-
Notifications
You must be signed in to change notification settings - Fork 3
/
bitrise.yml
108 lines (101 loc) · 3 KB
/
bitrise.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
103
104
105
106
107
108
---
format_version: '8'
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: other
trigger_map:
- pull_request_source_branch: "*"
workflow: primary
- tag: "*"
workflow: primary
workflows:
primary:
steps:
- git-clone@4: {}
- script@1:
title: Pod Lint
inputs:
- content: |-
#!/usr/bin/env bash
# fail if any commands fails
set -e
# debug log
set -x
pod lib lint CleverTapGeofence.podspec
- script@1:
inputs:
- content: |-
#!/usr/bin/env bash
# fail if any commands fails
set -e
# debug log
set -x
xcodebuild
title: Build Project
- script@1:
title: Build Cocoapods ObjC Example App
inputs:
- content: |-
#!/usr/bin/env bash
# fail if any commands fails
set -e
# debug log
set -x
cd Examples/CocoapodsExample/ObjCExample/
pod install
cat Podfile.lock
xcodebuild -workspace "GeofenceObjCPodsExample.xcworkspace" -scheme "GeofenceObjCPodsExample" -sdk iphonesimulator -destination 'name=iPhone 11' build
- script@1:
title: Build Cocoapods Swift Example
inputs:
- content: |-
#!/usr/bin/env bash
# fail if any commands fails
set -e
# debug log
set -x
cd Examples/CocoapodsExample/SwiftExample/
pod install
cat Podfile.lock
xcodebuild -workspace "GeofenceSwiftPodsExample.xcworkspace" -scheme "GeofenceSwiftPodsExample" -sdk iphonesimulator -destination 'name=iPhone 11' build
- script@1:
title: Go to Carthage Example Folder
inputs:
- content: |-
#!/usr/bin/env bash
# fail if any commands fails
set -e
# debug log
set -x
cd Examples/CarthageExample/
- carthage@3:
inputs:
- carthage_command: update
- script@1:
title: Build Carthage Example
inputs:
- content: |-
#!/usr/bin/env bash
# fail if any commands fails
set -e
# debug log
set -x
xcodebuild
- script@1:
title: Build Manual Example
inputs:
- content: |-
#!/usr/bin/env bash
# fail if any commands fails
set -e
# debug log
set -x
git submodule update --init --recursive
cd Examples/Manual/
xcodebuild -project "GeofenceManualExample.xcodeproj" -scheme "GeofenceManualExample" -sdk iphonesimulator -destination 'name=iPhone 11' build
- deploy-to-bitrise-io@1: {}
- slack@3:
inputs:
- channel: "#sdk-alerts"
- emoji: ":bitrise:"
- text: iOS Geofences Build Completed!
- webhook_url: "$SLACK_WEBHOOK"