#
.build_template: &build
- ci/scripts/handle-subprojects-cache.py subprojects/
- # Update subprojects to respect `.wrap` content
- - meson subprojects update --reset
- echo $MESON_ARGS
- meson build/ $MESON_ARGS
- ninja -C build/
variables:
MESON_ARGS: "${DEFAULT_MESON_ARGS} ${MESON_BUILDTYPE_ARGS} ${MESON_GST_WERROR}"
script:
- *build
+ - *build
+ - ./gst-env.py gst-inspect-1.0 --version
+ - ./gst-env.py gst-inspect-1.0
after_script:
- mv build/meson-logs/ meson-logs
artifacts:
script:
- !reference [".build windows", "script",]
- 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 &&
meson install --destdir=$env:CI_PROJECT_DIR\destdir -C build &&
rmdir /s /q $env:CI_PROJECT_DIR\destdir"
variables:
MESON_ARGS: *simple_build
MESON_BUILDTYPE_ARGS: "-Ddoc=enabled"
+ # Disable werror for the docs build, we don't need it
+ MESON_GST_WERROR: ''
CI_ARTIFACTS_URL: "${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/"
script:
# FIXME: should rebuild the image with newer versions!