mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-23 12:55:44 +03:00
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>
This commit is contained in:
parent
1e8340cd48
commit
65407483e5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue