Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-Android
Manage
Activity
Members
Labels
Plan
Issues
528
Issue boards
Milestones
Wiki
Code
Merge requests
15
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC-Android
Commits
6ba294c9
Commit
6ba294c9
authored
6 years ago
by
Hugo Beauzée-Luyssen
Committed by
Hugo Beauzée-Luyssen
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add CI configurations
parent
3ad6afbd
No related branches found
Branches containing commit
No related tags found
1 merge request
!10
CI: Add a basic CI configuration
Pipeline
#4037
failed with stage
in 1 minute and 50 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+146
-0
146 additions, 0 deletions
.gitlab-ci.yml
build-common
+3
-1
3 additions, 1 deletion
build-common
with
149 additions
and
1 deletion
.gitlab-ci.yml
0 → 100644
+
146
−
0
View file @
6ba294c9
cache
:
paths
:
-
.gradle/
-
gradle-4.10.1/
-
gradle/
-
gradlew
.build-all-base
:
image
:
registry.videolan.org:5000/vlc-debian-android:20190110154331
tags
:
-
debian
-
android
stage
:
build
script
:
-
./compile.sh ${EXTRA_BUILD_PARAM} -a ${ARCH}
variables
:
MAKEFLAGS
:
-j8
# Rebuilds libvlc JNI
.build-libvlc-base
:
extends
:
.build-all-base
only
:
refs
:
-
master
changes
:
-
libvlc/*
variables
:
EXTRA_BUILD_PARAM
:
-l
# rebuild the medialibrary JNI component
# This implies rebuilding VLC beforehand
.build-ml-base
:
extends
:
.build-all-base
only
:
refs
:
-
master/*
changes
:
-
medialibrary/*
variables
:
EXTRA_BUILD_PARAM
:
-ml
# vlc-android app only: don't rebuild everything but use a published artifact
# We can't filter by changes for MRs, so this is the only accepted configuration
# for those, regardless of what changed
continuous-app-build
:
extends
:
.build-all-base
script
:
-
./compile.sh --init
-
./gradlew assembleDebug
only
:
changes
:
-
vlc-android
-
assets
-
.gitlab-ci.yml
except
:
-
schedules
#################################
# Template config instantiation #
#################################
build-libvlc-arm64
:
extends
:
.build-libvlc-base
variables
:
ARCH
:
arm64
build-libvlc-armv7
:
extends
:
.build-libvlc-base
variables
:
ARCH
:
arm
build-libvlc-x86
:
extends
:
.build-libvlc-base
variables
:
ARCH
:
x86
build-libvlc-x86_64
:
extends
:
.build-libvlc-base
variables
:
ARCH
:
x86_64
build-ml-arm64
:
extends
:
.build-ml-base
variables
:
ARCH
:
arm64
build-ml-armv7
:
extends
:
.build-ml-base
variables
:
ARCH
:
arm
build-ml-x86
:
extends
:
.build-ml-base
variables
:
ARCH
:
x86
build-ml-x86_64
:
extends
:
.build-ml-base
variables
:
ARCH
:
x86_64
# Nightly builds: build native & app code, and ship the APK as artifact
nightly-arm64
:
extends
:
.build-all-base
only
:
-
schedules
variables
:
ARCH
:
arm64
artifacts
:
paths
:
-
vlc-android/build/outputs/apk/dev/VLC-Android-*.apk
expire_in
:
2 weeks
nightly-armv7
:
extends
:
.build-all-base
only
:
-
schedules
variables
:
ARCH
:
arm
artifacts
:
paths
:
-
vlc-android/build/outputs/apk/dev/VLC-Android-*.apk
expire_in
:
2 weeks
nightly-x86
:
extends
:
.build-all-base
only
:
-
schedules
variables
:
ARCH
:
x86
artifacts
:
paths
:
-
vlc-android/build/outputs/apk/dev/VLC-Android-*.apk
expire_in
:
2 weeks
nightly-x86_64
:
extends
:
.build-all-base
only
:
-
schedules
variables
:
ARCH
:
x86_64
artifacts
:
paths
:
-
vlc-android/build/outputs/apk/dev/VLC-Android-*.apk
expire_in
:
2 weeks
This diff is collapsed.
Click to expand it.
build-common
+
3
−
1
View file @
6ba294c9
...
...
@@ -11,6 +11,8 @@ if [ -z "$MAKEFLAGS" ]; then
fi
fi
echo
"MAKEFLAGS:
${
MAKEFLAGS
}
"
#########
# FLAGS #
#########
...
...
@@ -181,4 +183,4 @@ echo "EXTRA_CFLAGS: ${EXTRA_CFLAGS}"
echo
"VLC_CFLAGS:
${
VLC_CFLAGS
}
"
echo
"VLC_CXXFLAGS:
${
VLC_CXXFLAGS
}
"
echo
ok
\ No newline at end of file
echo
ok
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment