This takes ages to run single-threaded. Adjust it to use all available
processors.
Signed-off-by: Simon Glass <sjg@chromium.org>
image: $(ci_runner_image)
options: $(container_option)
steps:
- - script: cppcheck --force --quiet --inline-suppr .
+ - script: cppcheck -j$(nproc) --force --quiet --inline-suppr .
- job: htmldocs
displayName: 'Build HTML documentation'
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:
# static code analysis with cppcheck (we can add --enable=all later)
- name: "cppcheck"
script:
- - cppcheck --force --quiet --inline-suppr .
+ - cppcheck -j$(nproc) --force --quiet --inline-suppr .
# build HTML documentation
- name: "htmldocs"
script: