diff options
author | Matthew Waters <matthew@centricular.com> | 2023-06-04 13:40:40 +1000 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2023-06-04 13:45:22 +1000 |
commit | 18bc8a82b867fbaee3c2a3b06760acf5f9d3887f (patch) | |
tree | 5ad27badeb13e4b01a55b8b03d7be502bc28e3f7 /ci | |
parent | f389b7919fc7881fb35b42a4a4bd8105eed13868 (diff) |
ci: handle FDO_CI_CONCURRENT variable correctly
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/1191>
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/cerbero_setup.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ci/cerbero_setup.sh b/ci/cerbero_setup.sh index 18a308ec..8ab22cab 100755 --- a/ci/cerbero_setup.sh +++ b/ci/cerbero_setup.sh @@ -114,6 +114,9 @@ cerbero_before_script() { echo 'vs_install_path = "C:/BuildTools"' >> localconf.cbc echo 'vs_install_version = "vs16"' >> localconf.cbc fi + if [[ "x${FDO_CI_CONCURRENT}" != "x" ]]; then + echo "num_of_cpus = ${FDO_CI_CONCURRENT}" >> localconf.cbc + fi echo "recipes_commits = {'gstreamer-1.0': 'ci/${CI_GSTREAMER_REF_NAME}'}" >> localconf.cbc echo "recipes_remotes = {'gstreamer-1.0': {'ci': '${CI_GSTREAMER_URL}'}}" >> localconf.cbc cat localconf.cbc |