Parallelize the clang-tidy runs

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
This commit is contained in:
Kevin Ottens 2020-08-06 13:25:05 +02:00 committed by Kevin Ottens (Rebase PR Action)
parent db5c186202
commit 5116f4d255

View file

@ -77,7 +77,7 @@ steps:
- name: build
path: /drone/build
commands:
- "! run-clang-tidy-10 -p /drone/build -header-filter $PWD -quiet | grep -A 5 ': error:'"
- "! run-clang-tidy-10 -j$(nproc) -p /drone/build -header-filter $PWD -quiet | grep -A 5 ': error:'"
volumes:
- name: build