ci: run gst-inspect after the build

useful to quick inspect the elements built, later on we can
start verifying the list of elements against a known good list.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2458>
This commit is contained in:
Jordan Petridis 2022-05-07 04:45:09 +03:00 committed by GStreamer Marge Bot
parent 78b80836ab
commit 79cf6beeb6

View file

@ -270,7 +270,9 @@ gst indent:
variables: variables:
MESON_ARGS: "${DEFAULT_MESON_ARGS} ${MESON_BUILDTYPE_ARGS} ${MESON_GST_WERROR}" MESON_ARGS: "${DEFAULT_MESON_ARGS} ${MESON_BUILDTYPE_ARGS} ${MESON_GST_WERROR}"
script: script:
*build - *build
- ./gst-env.py gst-inspect-1.0 --version
- ./gst-env.py gst-inspect-1.0
after_script: after_script:
- mv build/meson-logs/ meson-logs - mv build/meson-logs/ meson-logs
artifacts: artifacts:
@ -383,6 +385,8 @@ build vs2019 amd64:
script: script:
- !reference [".build windows", "script",] - !reference [".build windows", "script",]
- cmd.exe /C "C:\BuildTools\Common7\Tools\VsDevCmd.bat -host_arch=amd64 -arch=$env:ARCH && - cmd.exe /C "C:\BuildTools\Common7\Tools\VsDevCmd.bat -host_arch=amd64 -arch=$env:ARCH &&
.\gst-env.py gst-inspect-1.0.exe --version &&
.\gst-env.py gst-inspect-1.0.exe &&
mkdir .\destdir && mkdir .\destdir &&
meson install --destdir=$env:CI_PROJECT_DIR\destdir -C build && meson install --destdir=$env:CI_PROJECT_DIR\destdir -C build &&
rmdir /s /q $env:CI_PROJECT_DIR\destdir" rmdir /s /q $env:CI_PROJECT_DIR\destdir"