diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2023-04-28 15:42:52 +0530 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2023-04-28 16:09:56 +0000 |
commit | ecebb7fb010fbbc5fddf384611875eb7d165720d (patch) | |
tree | fc9744ac8e5daba279b7dbce9acc01638f48b6e8 /ci | |
parent | af7936b450f478193495acd2feabc3905c7eb5e4 (diff) |
ci: Explicitly inspect plugins expected to have 0 features
Plugins that dlopen libs and will have 0 features on the CI, and hence
won't be listed in `gst-inspect-1.0` output, and have to be inspected
explicitly as a sanity-check.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1170>
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/cerbero_setup.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ci/cerbero_setup.sh b/ci/cerbero_setup.sh index 2e0d63c3..18a308ec 100755 --- a/ci/cerbero_setup.sh +++ b/ci/cerbero_setup.sh @@ -71,12 +71,25 @@ fix_build_tools() { # Produces runtime and devel tarball packages for linux/android or .pkg for macos cerbero_package_and_check() { + # Plugins that dlopen libs and will have 0 features on the CI, and hence + # won't be listed in `gst-inspect-1.0` output, and have to be inspected + # explicitly + local dlopen_plugins=(jack soup) + if [[ $CONFIG = win* ]]; then + dlopen_plugins+=(amfcodec mediafoundation msdk nvcodec qsv) + elif [[ $CONFIG = linux* ]]; then + dlopen_plugins+=(msdk nvcodec qsv va vaapi) + fi + $CERBERO $CERBERO_ARGS package --offline ${CERBERO_PACKAGE_ARGS} -o "$(pwd_native)" gstreamer-1.0 # Run gst-inspect-1.0 for some basic checks. Can't do this for cross-(android|ios)-universal, of course. if [[ $CONFIG != *universal* ]] && [[ $CONFIG != *cross-win* ]]; then $CERBERO $CERBERO_ARGS run gst-inspect-1.0$CERBERO_RUN_SUFFIX --version $CERBERO $CERBERO_ARGS run gst-inspect-1.0$CERBERO_RUN_SUFFIX + for plugin in $dlopen_plugins; do + $CERBERO $CERBERO_ARGS run gst-inspect-1.0$CERBERO_RUN_SUFFIX $plugin + done fi show_ccache_sum |