forked from SilentCircle/silent-phone-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
105 lines (95 loc) · 2.39 KB
/
.gitlab-ci.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
# This CI configuration expects a remote XCode server.
#
# Note: disabled the normal building while working on
# releasecandidate support by adding
# only:
# - when_release_candidate_support_is_complete
# sections
stages:
- build
variables:
GIT_SUBMODULE_STRATEGY: normal
# the standard debug build, will produce adhoc and enterprise
# this build will run on push to any branch
#
build_project_debug:
stage: build
script:
- .build-release/ci_build_wrapper.sh Debug 2>&1 | tee build.log
tags:
- iOS_10
- xcode_8-3
- osx_10-12-4
artifacts:
name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
when: always
expire_in: 8 weeks
paths:
- ./*.log
- dsyms.zip
allow_failure: false
# the standard release build, will produce adhoc and enterprise
# this build will run on push to any branch
#
build_project_release:
stage: build
script:
- .build-release/ci_build_wrapper.sh Release 2>&1 | tee build.log
tags:
- iOS_10
- xcode_8-3
- osx_10-12-4
artifacts:
name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
when: always
expire_in: 8 weeks
paths:
- ./*.log
- dsyms.zip
allow_failure: false
# a debug build configured to run on engineering devnet it produces adhoc and enterprise outputs
# this build will run on push to branch develop or experimental/ci-runner-devnet
#
build_project_debug_devnet:
stage: build
script:
- .build-release/ci_build_wrapper.sh Debug devnet 2>&1 | tee build.log
tags:
- iOS_10
- xcode_8-3
- osx_10-12-4
only:
- develop
- experimental/ci-runner-devnet
artifacts:
name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
when: always
expire_in: 8 weeks
paths:
- ./*.log
- dsyms.zip
allow_failure: false
# A release build with store ipa suitable for uploading to Apple.
# The release engineer controls the version number (BundleVersion) via a file local
# to the build machine so keep them advised.
#
build_project_releasecandidate:
stage: build
script:
- .build-release/ci_build_wrapper.sh Release releasecandidate 2>&1 | tee build.log
tags:
- iOS_10
- xcode_8-3
- osx_10-12-4
only:
- release/candidate
- release/beta
- experimental/ci-releasecandidate
artifacts:
name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
when: always
expire_in: 8 weeks
paths:
- ./*.log
- dsyms.zip
allow_failure: false