From 8e6d9401c7a77c8ed3c8a6075768f68443a0ea19 Mon Sep 17 00:00:00 2001 From: Stephan Beyer Date: Tue, 7 Jul 2020 01:22:59 +0200 Subject: [PATCH] Simplify clang-tidy invocation for Drone Symlinking and running bash is not necessary. Signed-off-by: Stephan Beyer --- .drone.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 78b525637..96c75c1fa 100644 --- a/.drone.yml +++ b/.drone.yml @@ -89,9 +89,7 @@ steps: chown -R test:test . && su -c 'ASAN_OPTIONS=detect_leaks=0 ctest --output-on-failure' test" # Static analysis with clang-tidy - - /bin/bash -c " - ln -s build/compile_commands.json . && - run-clang-tidy-6.0" + - run-clang-tidy-6.0 -p build trigger: branch: - master -- 2.30.2