diff options
author | Kevin Ottens <kevin.ottens@nextcloud.com> | 2020-05-27 19:44:25 +0300 |
---|---|---|
committer | Kevin Ottens <kevin.ottens@nextcloud.com> | 2020-05-27 19:44:25 +0300 |
commit | 2b4ea340e291af7aab1f89222e29426a7f3c85a7 (patch) | |
tree | d5f952ebf18bd062fff7601218b6d286c5e85921 /.drone.yml | |
parent | 7f7dd6bc766d01247afca44b29d8a9552559e4b5 (diff) |
Run clang-tidy from the 5.12-clang pipeline
This should pass, with the minimal .clang-tidy which was provided. Other
PRs should be done to enable further checks.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.drone.yml b/.drone.yml index b07be40b0..78b525637 100644 --- a/.drone.yml +++ b/.drone.yml @@ -83,11 +83,15 @@ steps: export PKG_CONFIG_PATH=\$QT_BASE_DIR/lib/pkgconfig:\$PKG_CONFIG_PATH && mkdir build && cd build && - cmake -D NO_SHIBBOLETH=1 -DBUILD_UPDATER=ON -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=1 -DSANITIZE_ADDRESS=ON ../ && + cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DNO_SHIBBOLETH=1 -DBUILD_UPDATER=ON -DCMAKE_BUILD_TYPE=Debug -DUNIT_TESTING=1 -DSANITIZE_ADDRESS=ON ../ && make && useradd -m -s /bin/bash test && 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" trigger: branch: - master |