From fc49a0cfd8c5f614acd1ab1040f7976dd16302b2 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 21 Oct 2021 11:37:27 +0200 Subject: [PATCH] ci: build some plugins I'll need those for the tests of a new element I'm writting for gst-plugins-rs. --- .gitlab-ci.yml | 2 +- ci/images_template.yml | 2 +- ci/install-gst.sh | 7 +++++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index aade1d434..54a5912de 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -100,7 +100,7 @@ stages: - .fdo.container-build@debian stage: container-base variables: - FDO_DISTRIBUTION_PACKAGES: "build-essential curl python3-setuptools liborc-0.4-dev libglib2.0-dev libxml2-dev libgtk-3-dev libegl1-mesa libgles2-mesa libgl1-mesa-dri libgl1-mesa-glx libwayland-egl1-mesa xz-utils libssl-dev git wget ca-certificates ninja-build python3-pip flex bison libglib2.0-dev libx11-dev libx11-xcb-dev libsoup2.4-dev" + FDO_DISTRIBUTION_PACKAGES: "build-essential curl python3-setuptools liborc-0.4-dev libglib2.0-dev libxml2-dev libgtk-3-dev libegl1-mesa libgles2-mesa libgl1-mesa-dri libgl1-mesa-glx libwayland-egl1-mesa xz-utils libssl-dev git wget ca-certificates ninja-build python3-pip flex bison libglib2.0-dev libx11-dev libx11-xcb-dev libsoup2.4-dev libvorbis-dev libogg-dev libtheora-dev libmatroska-dev libvpx-dev libopus-dev" FDO_DISTRIBUTION_EXEC: 'bash ci/install-gst.sh && pip3 install git+http://gitlab.freedesktop.org/freedesktop/ci-templates' .build-final-image: diff --git a/ci/images_template.yml b/ci/images_template.yml index 12a5c96f7..92b076868 100644 --- a/ci/images_template.yml +++ b/ci/images_template.yml @@ -1,4 +1,4 @@ variables: - GST_RS_IMG_TAG: '2021-10-07.0' + GST_RS_IMG_TAG: '2021-10-22.0' GST_RS_STABLE: '1.55.0' GST_RS_MSRV: '1.54.0' diff --git a/ci/install-gst.sh b/ci/install-gst.sh index 6981fb587..c6385c010 100755 --- a/ci/install-gst.sh +++ b/ci/install-gst.sh @@ -8,8 +8,11 @@ cd .. git clone --depth 1 https://gitlab.freedesktop.org/gstreamer/gstreamer.git --branch main cd gstreamer -meson build -D prefix=/usr/local -D devtools=disabled -D examples=disabled -D gtk_doc=disabled -D introspection=disabled -D libav=disabled -D libnice=disabled -D python=disabled -D ugly=disabled -D vaapi=disabled +# plugins required by tests +PLUGINS="-D gst-plugins-base:ogg=enabled -D gst-plugins-base:vorbis=enabled -D gst-plugins-base:theora=enabled -D gst-plugins-good:matroska=enabled -D gst-plugins-good:vpx=enabled -D gst-plugins-bad:opus=enabled" + +meson build -D prefix=/usr/local -D devtools=disabled -D examples=disabled -D gtk_doc=disabled -D introspection=disabled -D libav=disabled -D libnice=disabled -D python=disabled -D ugly=disabled -D vaapi=disabled $PLUGINS ninja -C build ninja -C build install -popd \ No newline at end of file +popd