diff options
author | Anton Yuzhaninov <citrin+git@citrin.ru> | 2018-10-30 14:51:12 -0400 |
---|---|---|
committer | Anton Yuzhaninov <citrin+git@citrin.ru> | 2018-10-30 14:55:47 -0400 |
commit | a1eb8af05450ea7ec43d8b5a28385654f0dd0945 (patch) | |
tree | d586126d2935ec7da633ed9819ba697d2f76d9d8 /.drone.yml | |
parent | 3ec6820a928849a1de07f963ee0fcef18ff82dcc (diff) | |
download | rspamd-a1eb8af05450ea7ec43d8b5a28385654f0dd0945.tar.gz rspamd-a1eb8af05450ea7ec43d8b5a28385654f0dd0945.zip |
Enable clang plugin
Build clang plugin and use it to check rspamd printf-like functions
(rspamd_printf, rspamd_fprintf, rspamd_default_log_function, e.t.c).
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml index 91469d9ed..0862d4707 100644 --- a/.drone.yml +++ b/.drone.yml @@ -32,6 +32,7 @@ pipeline: build-clang: # https://github.com/rspamd/rspamd-build-docker/blob/master/fedora-build/Dockerfile image: rspamd/ci-fedora-build + pull: true group: build commands: - test "$(id -un)" = nobody @@ -39,6 +40,8 @@ pipeline: - export LDFLAGS='-fuse-ld=lld' - > cmake + -DENABLE_CLANG_PLUGIN=ON + -DLLVM_CONFIG_BINARY=/usr/bin/llvm-config -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DCMAKE_INSTALL_PREFIX=/rspamd/fedora/install -DENABLE_FULL_DEBUG=ON |