ci: Remove the gstreamer directory if it exists already for the gst-build job

Otherwise it will regularly fail because the runner already has the
directory available for some reason.
This commit is contained in:
Sebastian Dröge 2021-12-20 10:51:41 +02:00
parent d7677a6337
commit 82d969190f

View file

@ -201,6 +201,7 @@ gst-build:
script: script:
- P=$(pwd) - P=$(pwd)
- cd .. - cd ..
- rm -rf gstreamer
- git clone --depth 1 https://gitlab.freedesktop.org/gstreamer/gstreamer.git --branch main - git clone --depth 1 https://gitlab.freedesktop.org/gstreamer/gstreamer.git --branch main
- cd gstreamer - cd gstreamer
- ln -s $P subprojects/gst-plugins-rs - ln -s $P subprojects/gst-plugins-rs