mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-20 08:00:08 +01:00
gitlab CI: use FDO_CI_CONCURRENT in our meson build script
Always prefix the ninja args with the FDO_CI_CONCURRENT values (i.e. how many jobs the runner tells us). Note that this variable is currently not passed through to the qemu jobs, so inside the VM we'll still use the ninja default values. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
d09cc9db00
commit
873a883906
1 changed files with 3 additions and 0 deletions
|
|
@ -20,6 +20,9 @@ if [[ -z "$CI_JOB_ID" ]] || [[ -z "$CI_JOB_NAME" ]]; then
|
||||||
echo " CI_JOB_NAME=$CI_JOB_NAME"
|
echo " CI_JOB_NAME=$CI_JOB_NAME"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -n "$FDO_CI_CONCURRENT" ]]; then
|
||||||
|
NINJA_ARGS="-j${FDO_CI_CONCURRENT} $NINJA_ARGS"
|
||||||
|
fi
|
||||||
|
|
||||||
echo "*************************************************"
|
echo "*************************************************"
|
||||||
echo "builddir: $MESON_BUILDDIR"
|
echo "builddir: $MESON_BUILDDIR"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue