diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2022-05-27 09:37:41 -0400 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2022-05-27 14:33:53 +0000 |
commit | ea990ff81743108c473a78963372ab8062ace6b8 (patch) | |
tree | 43a4f24c16e2084ae5a2086ea6179b382f5cb3ca /ci | |
parent | 7c8902c9831c48d1c77a0e7c439830cc6cfa1ade (diff) | |
download | gstreamer-ea990ff81743108c473a78963372ab8062ace6b8.tar.gz |
ci: Make sure to always update subprojects
The command was not run in Windows jobs, better keep subprojects
handling in a single script.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2509>
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/scripts/handle-subprojects-cache.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ci/scripts/handle-subprojects-cache.py b/ci/scripts/handle-subprojects-cache.py index 9e3722111d..7e126e5fbf 100755 --- a/ci/scripts/handle-subprojects-cache.py +++ b/ci/scripts/handle-subprojects-cache.py @@ -8,6 +8,7 @@ import shutil import os import sys import argparse +import subprocess DEST = "/subprojects" PARSER = argparse.ArgumentParser() @@ -69,6 +70,7 @@ def copy_cache(options): print("Copying from %s -> %s" % (cache_dir, project_path)) shutil.copytree(cache_dir, project_path) + subprocess.check_call(['meson', 'subprojects', 'update', '--reset']) if __name__ == "__main__": |