[vlc-commits] CI: add a Raspbian 32-bit target
Steve Lhomme
git at videolan.org
Fri Mar 20 16:20:54 CET 2020
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Jan 30 14:08:43 2020 +0100| [f177969baaed79355a427f483b0f617d9812adf4] | committer: Steve Lhomme
CI: add a Raspbian 32-bit target
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f177969baaed79355a427f483b0f617d9812adf4
---
extras/ci/gitlab-ci.yml | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/extras/ci/gitlab-ci.yml b/extras/ci/gitlab-ci.yml
index 47e6c569a9..3b3dc91ff4 100644
--- a/extras/ci/gitlab-ci.yml
+++ b/extras/ci/gitlab-ci.yml
@@ -18,6 +18,7 @@ variables:
VLC_DEBIAN_IMAGE: registry.videolan.org/vlc-debian-unstable:20191023134128
VLC_ANDROID_IMAGE: registry.videolan.org/vlc-debian-android:20190717134531
VLC_SNAP_IMAGE: registry.videolan.org/vlc-ubuntu-bionic:20190627090437
+ VLC_RASPBIAN_IMAGE: registry.videolan.org/vlc-debian-raspbian:20200213203125
.variables-debian: &variables-debian
HOST_ARCH: x86_64
@@ -27,6 +28,10 @@ variables:
HOST_ARCH: x86_64
TRIPLET: $HOST_ARCH-linux-gnu
+.variables-raspbian-arm: &variables-raspbian-arm
+ HOST_ARCH: arm
+ TRIPLET: $HOST_ARCH-linux-gnueabihf
+
.variables-win32: &variables-win32
HOST_ARCH: i686
TRIPLET: $HOST_ARCH-w64-mingw32
@@ -168,6 +173,22 @@ snap:
- mv extras/package/snap/parts/vlc/build/contrib/vlc-contrib-*.tar.bz2 contrib/vlc-contrib-${TRIPLET}-${VLC_CONTRIB_SHA}.tar.bz2 2>/dev/null || true
variables: *variables-snap
+#
+# Raspbian
+#
+raspbian-arm:
+ extends: .docker-template
+ image:
+ name: $VLC_RASPBIAN_IMAGE
+ script: |
+ if [ -n "$VLC_PREBUILT_CONTRIBS_URL" ]; then
+ echo "Building using prebuilt contribs at $VLC_PREBUILT_CONTRIBS_URL"
+ extras/package/raspberry/build.sh -p -x -a $HOST_ARCH
+ else
+ extras/package/raspberry/build.sh -c -x -a $HOST_ARCH
+ fi
+ variables: *variables-raspbian-arm
+
#
# macOS
#
More information about the vlc-commits
mailing list