summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-04-05 14:35:43 -0600
committerTom Rini <trini@konsulko.com>2020-04-10 21:36:37 -0400
commit4ee7f527810ec77c6f0c64975ccbadbde3277696 (patch)
tree9287c271d41e984bb43fdb4cd21842c96c27de1c /.gitlab-ci.yml
parentf5ec7eebf774456f0c24fc5eae6d0421e353bea6 (diff)
travis/gitlab/azure: Run cppcheck in parallel
This takes ages to run single-threaded. Adjust it to use all available processors. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a4f8a71991..08bdf81e74 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -103,7 +103,7 @@ cppcheck:
tags: [ 'all' ]
stage: testsuites
script:
- - cppcheck --force --quiet --inline-suppr .
+ - cppcheck -j$(nproc) --force --quiet --inline-suppr .
# search for TODO within source tree
grep TODO/FIXME/HACK: