[vlc-devel] [PATCH v2 2/2] CI: add a Raspbian 32-bit target

Steve Lhomme robux4 at ycbcr.xyz
Fri Mar 20 12:51:52 CET 2020


---
 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 47e6c569a9f..3b3dc91ff40 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
 #
-- 
2.17.1



More information about the vlc-devel mailing list