mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
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:
parent
6c830c5bd3
commit
120f2a6b83
2 changed files with 5 additions and 0 deletions
|
@ -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"
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
Loading…
Reference in a new issue