Commit 2dbaa30a authored by Xavier Claessens's avatar Xavier Claessens
Browse files

Install meson from git when MESON_COMMIT variable is set

parent ac6890e5
Pipeline #308666 failed with stages
in 33 minutes and 1 second
......@@ -466,11 +466,14 @@ check allow-edit:
- cd gst-build/
# only copy immediate directories. We don't want to modify .wrap files
- find /gst-build/subprojects/ -mindepth 1 -maxdepth 1 -type d -exec cp -r \{\} subprojects/ \;
# MESON_COMMIT variable can be set when creating a pipeline to test meson pre releases
- >
if [ -n "$MESON_COMMIT" ]; then
pip3 install --upgrade git+https://github.com/mesonbuild/meson.git@$MESON_COMMIT
fi
# Reset the state of the subprojects to what gst-build expects
- meson subprojects update --reset
- ./git-update --no-interaction --manifest="${CI_PROJECT_DIR}/manifest.xml"
- meson build/ $MESON_ARGS
- ninja -C build/
- ccache --show-stats
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment