Skip to content
Snippets Groups Projects
Commit e9458071 authored by Matthias Grob's avatar Matthias Grob
Browse files

check_submodules: fetch in parallel on CI

parent d2a23c85
No related branches found
No related tags found
No related merge requests found
......@@ -8,8 +8,8 @@ if [[ -f $1"/.git" || -d $1"/.git" ]]; then
# CI environment always update
if [ "$CI" == "true" ]; then
git submodule --quiet sync --recursive -- $1
git submodule --quiet update --init --recursive -- $1 || true
git submodule --quiet update --init --recursive -- $1
git submodule --quiet update --init --recursive --jobs=8 -- $1 || true
git submodule --quiet update --init --recursive --jobs=8 -- $1
exit 0
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment