[ci] Try harder to fix this randomly failing job

The default --num-processes is the number of CPUs multiplied by 5,
which seems to give this VM a hard-time. Even the number of CPUs is too
much, so lets use half of that (I’m adding one just in case the division
gives zero).
This commit is contained in:
Khaled Hosny 2021-12-12 07:50:06 +02:00
parent 52a33a15a4
commit 449c4296a1
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ jobs:
- run: meson build --buildtype=debugoptimized - run: meson build --buildtype=debugoptimized
- run: ninja -Cbuild -j9 - run: ninja -Cbuild -j9
# TOOD: increase timeouts and remove --no-suite=slow # TOOD: increase timeouts and remove --no-suite=slow
- run: RUN_VALGRIND=1 meson test -Cbuild --no-suite=slow --wrap='valgrind --leak-check=full --error-exitcode=1' --print-errorlogs --num-processes=$(nproc) - run: RUN_VALGRIND=1 meson test -Cbuild --no-suite=slow --wrap='valgrind --leak-check=full --error-exitcode=1' --print-errorlogs --num-processes=$(($(nproc)/2 + 1))
alpine: alpine:
docker: docker: