Skip to content
Snippets Groups Projects
Commit 886f2e16 authored by Soomin Lee's avatar Soomin Lee
Browse files

w

parent 897ff59f
No related branches found
No related tags found
No related merge requests found
Pipeline #18172 canceled with stage
in 9 seconds
stages:
- release
####################
## Release builds ##
####################
.release-job-base:
tags:
- macos
stage: release
only:
- tags
artifacts:
paths:
- ./*.zip
.release-build-base:
script:
- ./buildVLCMediaLibraryKit.sh -vcka aarch64
- ./createDeployable.sh -v ${CI_COMMIT_TAG}
VLCMediaLibraryKit:
extends:
- .release-job-base
script:
- ./buildVLCMediaLibraryKit.sh -vcka aarch64
- ./createDeployable.sh -v ${CI_COMMIT_TAG}
......@@ -10,6 +10,7 @@ NO_NETWORK=no
BUILD_TYPE="Release"
TESTED_HASH="83fc3ba3"
VLCKIT_PATH=~
BUILD_VLCKIT=no
SDK_VERSION=`xcrun --sdk iphoneos --show-sdk-version`
CXX_COMPILATOR=clang++
SKIP_MEDIALIBRARY=no
......@@ -35,10 +36,11 @@ usage()
-x Skip medialibrary dependencies build
-a Build for specific architecture(all|i386|x86_64|armv7|armv7s|aarch64)
-p VLCKit path(default is ~/)
-k Build VLCKit
EOF
}
while getopts "hvdmncsxa:p:" OPTION
while getopts "hvdmncsxa:p:k" OPTION
do
case $OPTION in
h)
......@@ -72,6 +74,9 @@ do
p)
VLCKIT_PATH=$OPTARG
;;
k)
BUILD_VLCKIT=yes
;;
?)
usage
exit 1
......@@ -168,7 +173,16 @@ locateVLCKit()
log "info" "Looking for VLCKit..."
local path=$VLCKIT_PATH
if [ "$VLCKIT_PATH" == ~ ]; then
if [ "$BUILD_VLCKIT" == "yes" ]; then
log "info" "Cloning VLCKit..."
git clone https://code.videolan.org/videolan/VLCKit.git
spushd VLCKit
git checkout 3.0
log "info" "Starting VLCKit 3.0 build for aarch64"
./buildMobileVLCKit.sh -vfa aarch64
path="`pwd`"
spopd # VLCKit
elif [ "$VLCKIT_PATH" == ~ ]; then
log "warning" "VLCKit path not provided, will look for it at ~/"
path="`find ${VLCKIT_PATH} -maxdepth 5 -type d -name 'VLCKit' -print -quit`"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment