Commit 57a8a7cc authored by Petr Špaček's avatar Petr Špaček

Merge branch 'clan-scan-build' into 'master'

CI: add Clan scan build to pipeline

See merge request knot/knot-resolver!437
parents 20f033ca 1d52ed81
image: cznic/ci-debian-kresd
image: $CI_REGISTRY/knot/knot-resolver/ci:debian-stable
variables:
DEBIAN_FRONTEND: noninteractive
......@@ -32,6 +32,21 @@ lint:lua:
tags:
- docker
lint:clang-scan-build:
allow_failure: true # for now it is just informative
stage: test
image: $CI_REGISTRY/knot/knot-resolver/ci:debian-unstable # newer Debian for newer Clang
dependencies: [] # do not download build artifacts
script:
- MAKEFLAGS="-k -j$(nproc)" /usr/lib/llvm-5.0/bin/scan-build -o scan-results --status-bugs make
artifacts:
when: on_failure
expire_in: '1 day'
paths:
- scan-results
tags:
- docker
test:linux:amd64:
stage: test
script:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment