Commit 18745414 authored by Vladimír Čunát's avatar Vladimír Čunát

Merge !713: CI lint:clang-scan-build: make it mandatory!

parents 818a04d8 08ec9825
Pipeline #42663 passed with stages
in 9 minutes and 42 seconds
......@@ -92,14 +92,14 @@ lint:c:
- docker
allow_failure: true # for now it is just informative
stage: test
- master
image: $CI_REGISTRY/knot/knot-resolver/ci/debian-unstable:knot-2.7 # newer Debian for newer Clang
dependencies: [] # do not download build artifacts
- MAKEFLAGS="-k -j$(nproc)" SCAN_BUILD="scan-build -o scan-results --status-bugs -no-failure-reports" ./tests/ make
- MAKEFLAGS="-k -j$(nproc)" SCAN_BUILD="scan-build -o scan-results --status-bugs -no-failure-reports" ./tests/ make || true
- test "$(ls scan-results/*/report-*.html | wc -l)" = 7 # we have this many errors ATM :-)
when: on_failure
expire_in: '1 day'
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