Parallelize the clang-tidy runs
authorKevin Ottens <kevin.ottens@nextcloud.com>
Thu, 6 Aug 2020 11:25:05 +0000 (13:25 +0200)
committerKevin Ottens (Rebase PR Action) <er-vin@users.noreply.github.com>
Wed, 12 Aug 2020 06:45:13 +0000 (06:45 +0000)
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
.drone.yml

index 9c479d696a20283dfab2291e31b1c0c1e4cee493..b8a3d0f183e2f4f62f7152212a24639980a94db7 100644 (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