ci: Explicitly set the number of jobs validate-launcher will run

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7592>
This commit is contained in:
Jordan Petridis 2024-10-01 00:39:13 +03:00 committed by GStreamer Marge Bot
parent 6c830c5bd3
commit 120f2a6b83
2 changed files with 5 additions and 0 deletions

View file

@ -876,6 +876,7 @@ fluster v4l2-stateless on visl:
stage: 'test' stage: 'test'
variables: variables:
EXTRA_VALIDATE_ARGS: "--valgrind" EXTRA_VALIDATE_ARGS: "--valgrind"
timeout: "1h30m"
rules: rules:
- changes: - changes:
compare_to: "$GST_UPSTREAM_BRANCH" compare_to: "$GST_UPSTREAM_BRANCH"

View file

@ -10,6 +10,9 @@ fi
set -eux set -eux
_jobs=$(nproc || sysctl -n hw.ncpu)
jobs="${FDO_CI_CONCURRENT:-$_jobs}"
timeout="${TIMEOUT_FACTOR:="2"}" timeout="${TIMEOUT_FACTOR:="2"}"
validate="${EXTRA_VALIDATE_ARGS:=""}" validate="${EXTRA_VALIDATE_ARGS:=""}"
parent="${CI_PROJECT_DIR:-$(pwd)}" parent="${CI_PROJECT_DIR:-$(pwd)}"
@ -20,6 +23,7 @@ echo "-> Running $tests"
./gst-env.py \ ./gst-env.py \
"--builddir=$builddir" \ "--builddir=$builddir" \
gst-validate-launcher "$tests" \ gst-validate-launcher "$tests" \
--jobs "$jobs" \
--check-bugs \ --check-bugs \
--dump-on-failure \ --dump-on-failure \
--mute \ --mute \