Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Ottens <kevin.ottens@nextcloud.com>2020-08-06 09:49:17 +0300
committerKevin Ottens (Rebase PR Action) <er-vin@users.noreply.github.com>2020-08-12 09:45:12 +0300
commit65407483e58313319f65196986e9912d84f169f2 (patch)
treef9114e45c8bee4f788592e32014459af61991663 /.drone.yml
parent1e8340cd48f0f4e2cee5cbbdabc7796d1b44905d (diff)
Now make sure we're not picking up generated headers
This could happen (and started to happen more with clang-tidy 10) that clang-tidy picked up errors in headers from the build directory. Now that we moved the build directory out of source, we can simply filter headers based on the pwd. Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.drone.yml b/.drone.yml
index d6e5ff3ee..dd56a7436 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -52,7 +52,7 @@ steps:
chown -R test:test . &&
su -c 'ASAN_OPTIONS=detect_leaks=0 ctest --output-on-failure' test"
# Static analysis with clang-tidy
- - "! run-clang-tidy-10 -p /drone/build -quiet | grep -A 5 ': error:'"
+ - "! run-clang-tidy-10 -p /drone/build -header-filter $PWD -quiet | grep -A 5 ': error:'"
volumes:
- name: build