summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStéphane Cerveau <scerveau@collabora.com>2020-10-09 14:11:31 +0200
committerStéphane Cerveau <scerveau@collabora.com>2020-12-10 12:51:32 +0100
commit3822c33704348513740c774359d175f16831d044 (patch)
treebab8b7e597a5d0375920fd1d84ce422822e7438b
parentd4e55b655ce2a7d3f3d6c1b6875f8e8fb79cbe75 (diff)
gstreamer-full: enable features unit test
As gst-build can select features to be exposed by gstreamer-full, the test will check that feature are present or not present according to the current configuration. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/381>
-rw-r--r--gitlab/ci_template.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/gitlab/ci_template.yml b/gitlab/ci_template.yml
index 6ec5778..07d6a03 100644
--- a/gitlab/ci_template.yml
+++ b/gitlab/ci_template.yml
@@ -586,6 +586,7 @@ integration testsuites fedora:
rules:
- if: '$CI_PROJECT_NAME !~ /^(cerbero|gst-docs|gst-examples|gst-omx|gstreamer-sharp|gst-plugins-rs)$/'
+# gstreamer-full
gstreamer-full:
extends: 'build static fedora x86_64'
stage: integrate
@@ -608,6 +609,38 @@ gstreamer-full:
paths:
- 'meson-logs/'
+gstreamer-full-minimal:
+ extends: 'build static fedora x86_64'
+ stage: integrate
+ variables:
+ MESON_ARGS: >
+ --default-library=static
+ -Dauto_features=disabled
+ -Dgstreamer:check=enabled
+ -Dtests=enabled
+ -Dgst-plugins-base:alsa=enabled
+ -Dgst-plugins-base:typefind=enabled
+ -Dgst-plugins-base:pbtypes=enabled
+ -Dgst-full-elements=coreelements:filesrc,fakesink,identity,input-selector
+ -Dgst-full-typefind-functions=typefindfunctions:wav,flv
+ -Dgst-full-device-providers=alsa:alsadeviceprovider
+ -Dgst-full-dynamic-types=pbtypes:video_multiview_flagset
+ $MESON_GST_WERROR
+ rules:
+ - if: '$CI_PROJECT_NAME =~ /^(gst-build|gst-ci)$/'
+
+ script:
+ - *gst_build
+ - meson test -C build -v test-gst-full
+ - meson test -C build test-gst-full-features --test-args "-e filesrc,identity,fakesink -E filesink,capsfilter -t audio/x-wav -T video/vivo -d alsadeviceprovider -D v4l2deviceprovider -l GstVideoMultiviewFlagsSet"
+ - strip build/libgstreamer-full-1.0.so
+ - ls -l build/libgstreamer-full-1.0.so
+ artifacts:
+ expire_in: "7 days"
+ when: "always"
+ paths:
+ - 'meson-logs/'
+
# Valgrind
.valgrind fedora x86_64:
extends: '.test fedora x86_64'