-
Notifications
You must be signed in to change notification settings - Fork 137
/
.gitlab-ci.yml
173 lines (149 loc) · 3.97 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
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
stages:
- release
- build
variables:
VLC_VERSION: "4.0"
VLC_PATH: /Users/videolanci/sandbox/bin
############
## Builds ##
############
.continous-job-base-main:
tags:
- macos-xcode15
stage: build
only:
- merge_requests
interruptible: true
.continous-build-base-main:
script:
- ./compileAndBuildVLCKit.sh -${BUILD_PARAM}
continous-VLCKit-iOS-main:
extends:
- .continous-job-base-main
- .continous-build-base-main
variables:
BUILD_PARAM: "vf"
JOB_NAME: "MobileVLCKit"
continous-VLCKit-tvOS-main:
extends:
- .continous-job-base-main
- .continous-build-base-main
variables:
BUILD_PARAM: "vft"
JOB_NAME: "TVVLCKit"
continous-VLCKit-macOS-main:
extends:
- .continous-job-base-main
- .continous-build-base-main
variables:
BUILD_PARAM: "vx"
JOB_NAME: "VLCKit"
continous-VLCKit-xrOS-main:
extends:
- .continous-job-base-main
- .continous-build-base-main
variables:
BUILD_PARAM: "vfi"
JOB_NAME: "VLCKit-watchOS"
continous-VLCKit-watchOS-main:
extends:
- .continous-job-base-main
- .continous-build-base-main
variables:
BUILD_PARAM: "vfw"
JOB_NAME: "VLCKit-watchOS"
############################################################
## Development artifacts builds ##
## These are running every time a merge request is merged ##
## or a commit gets pushed to the default branch ##
############################################################
.dev-artifacts-job-base-main:
tags:
- macos-xcode15
rules:
- if: '$CI_PIPELINE_SOURCE == "push" && $CI_PROJECT_PATH == "videolan/VLCKit"'
- if: '$CI_COMMIT_TAG'
when: never
artifacts:
paths:
- ./*.tar.xz
stage: build
.dev-artifacts-build-base-main:
script:
- ./compileAndBuildVLCKit.sh -${BUILD_PARAM}
- ./Packaging/create-distributable-package.sh -${PACKAGING_PARAM}
- mv *.tar.xz ${JOB_NAME}-${VLC_VERSION}-`date +%Y%m%d-%H%M`.tar.xz
dev-artifacts-VLCKit-iOS-main:
extends:
- .dev-artifacts-job-base-main
- .dev-artifacts-build-base-main
variables:
BUILD_PARAM: "f"
PACKAGING_PARAM: "m"
JOB_NAME: "VLCKit-iOS"
dev-artifacts-VLCKit-tvOS-main:
extends:
- .dev-artifacts-job-base-main
- .dev-artifacts-build-base-main
variables:
BUILD_PARAM: "ft"
PACKAGING_PARAM: "t"
JOB_NAME: "VLCKit-tvOS"
dev-artifacts-VLCKit-macOS-main:
extends:
- .dev-artifacts-job-base-main
- .dev-artifacts-build-base-main
variables:
BUILD_PARAM: "x"
PACKAGING_PARAM: "x"
JOB_NAME: "VLCKit-macOS"
dev-artifacts-VLCKit-xrOS-main:
extends:
- .dev-artifacts-job-base-main
- .dev-artifacts-build-base-main
variables:
BUILD_PARAM: "fi"
PACKAGING_PARAM: "i"
JOB_NAME: "VLCKit-xrOS"
dev-artifacts-VLCKit-watchOS-main:
extends:
- .dev-artifacts-job-base-main
- .dev-artifacts-build-base-main
variables:
BUILD_PARAM: "fw"
PACKAGING_PARAM: "w"
JOB_NAME: "VLCKit-watchOS"
####################
## Release builds ##
####################
.release-job-base-main:
tags:
- macos-xcode15
stage: release
only:
- tags
artifacts:
paths:
- ./*.tar.xz
.release-build-base-main:
script:
- cd Packaging
- ./buildAndDeployFrameworks.sh -${BUILD_PARAM}
MobileVLCKit-main:
extends:
- .release-job-base-main
- .release-build-base-main
variables:
BUILD_PARAM: "m"
TVVLCKit-main:
extends:
- .release-job-base-main
- .release-build-base-main
variables:
BUILD_PARAM: "t"
VLCKit-main:
extends:
- .release-job-base-main
- .release-build-base-main
variables:
BUILD_PARAM: "x"