[vlc-devel] [PATCH 5/5] CI: add a Raspbian target

Steve Lhomme robux4 at ycbcr.xyz
Fri Feb 14 13:37:53 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 5ca458440ae..5383983b6fd 100644
--- a/extras/ci/gitlab-ci.yml
+++ b/extras/ci/gitlab-ci.yml
@@ -17,6 +17,7 @@ variables:
     VLC_WIN_LLVM_IMAGE: registry.videolan.org/vlc-debian-llvm-mingw:20190621125349
     VLC_DEBIAN_IMAGE: registry.videolan.org/vlc-debian-unstable:20191023134128
     VLC_ANDROID_IMAGE: registry.videolan.org/vlc-debian-android:20190717134531
+    VLC_RASPBIAN_IMAGE: registry.videolan.org/vlc-debian-raspbian:20200213203125
 
 .variables-debian: &variables-debian
         HOST_ARCH: x86_64
@@ -63,6 +64,10 @@ variables:
         ANDROID_ARCH: x86_64
         TRIPLET: x86_64-linux-android
 
+.variables-raspbian-arm: &variables-debian
+        HOST_ARCH: arm
+        TRIPLET: $HOST_ARCH-linux-gnueabihf
+
 # Common rules
 .base-template:
     stage: build
@@ -148,6 +153,22 @@ debian:
         VLC_TEST_TIMEOUT=60 sh -x ./test/make_check_wrapper.sh -j4
     variables: *variables-debian
 
+#
+# Debian
+#
+raspbian:
+    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 -a $HOST_ARCH
+        else
+            extras/package/raspberry/build.sh -c -a $HOST_ARCH
+        fi
+    variables: *variables-raspbian
+
 #
 # macOS
 #
-- 
2.17.1



More information about the vlc-devel mailing list