Skip to content
Snippets Groups Projects
Commit 18745414 authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

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

parents 818a04d8 08ec9825
No related branches found
No related tags found
1 merge request!713CI lint:clang-scan-build: make it mandatory!
Pipeline #42663 passed
......@@ -92,14 +92,14 @@ lint:c:
- docker
lint:clang-scan-build:
allow_failure: true # for now it is just informative
stage: test
except:
- master
image: $CI_REGISTRY/knot/knot-resolver/ci/debian-unstable:knot-2.7 # newer Debian for newer Clang
dependencies: [] # do not download build artifacts
script:
- MAKEFLAGS="-k -j$(nproc)" SCAN_BUILD="scan-build -o scan-results --status-bugs -no-failure-reports" ./tests/clang_scan_build.sh make
- MAKEFLAGS="-k -j$(nproc)" SCAN_BUILD="scan-build -o scan-results --status-bugs -no-failure-reports" ./tests/clang_scan_build.sh make || true
- test "$(ls scan-results/*/report-*.html | wc -l)" = 7 # we have this many errors ATM :-)
artifacts:
when: on_failure
expire_in: '1 day'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment