forked from videolan/vlckit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
99 lines (88 loc) · 2.53 KB
/
Copy path.gitlab-ci.yml
File metadata and controls
99 lines (88 loc) · 2.53 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
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
stages:
- build
variables:
VLC_VERSION: "4.0"
VLC_PATH: /Users/videolanci/sandbox/bin
############
## Builds ##
############
.continous-job-base-main:
tags:
- macos-xcode26
stage: build
only:
- merge_requests
interruptible: true
.continous-build-base-main:
script:
- ./compileAndBuildVLCKit.sh -${BUILD_PARAM}
after_script:
- rm -rf build/ || true
- rm -rf libvlc/vlc || true
- rm -rf *-binary || true
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"
############################################################
## Dev artifacts & release builds ##
## Compile all 5 platforms, then create a single package ##
############################################################
dev-artifacts-VLCKit:
tags:
- macos-xcode26
stage: build
rules:
- if: '$CI_PIPELINE_SOURCE == "push" && $CI_PROJECT_PATH == "videolan/VLCKit"'
artifacts:
paths:
- ./*.zip
script:
- ./compileAndBuildVLCKit.sh -f
- rm -rf libvlc/vlc || true
- ./compileAndBuildVLCKit.sh -ft
- rm -rf libvlc/vlc || true
- ./compileAndBuildVLCKit.sh -xf
- rm -rf libvlc/vlc || true
- ./compileAndBuildVLCKit.sh -fi
- rm -rf libvlc/vlc || true
- ./compileAndBuildVLCKit.sh -fw
- ./Packaging/create-distributable-package.sh -a -x -m -t -i -w -s
- mv *.zip VLCKit-${VLC_VERSION}-`date +%Y%m%d-%H%M`.zip
- rm -rf build/ || true
- rm -rf libvlc/vlc || true
after_script:
- rm -rf build/ || true
- rm -rf libvlc/vlc || true
- rm -rf *-binary || true