mirror of
https://github.com/falcosecurity/falco.git
synced 2025-06-26 14:52:20 +00:00
build: static code analysis CI reports
Signed-off-by: Lorenzo Fontana <fontanalorenz@gmail.com>
This commit is contained in:
parent
a51c4fc903
commit
4f86e3e68b
@ -306,6 +306,28 @@ jobs:
|
||||
- run:
|
||||
name: Execute driver-loader integration tests
|
||||
command: /tmp/ws/source/falco/test/driver-loader/run_test.sh /tmp/ws/build/release/
|
||||
# Code quality
|
||||
"quality/static-analysis":
|
||||
docker:
|
||||
- image: ubuntu:focal
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /
|
||||
- run:
|
||||
name: Update base image
|
||||
command: apt update -y
|
||||
- run:
|
||||
name: Install dependencies
|
||||
command: DEBIAN_FRONTEND=noninteractive apt install cppcheck cmake build-essential git -y
|
||||
- run:
|
||||
name: cppcheck
|
||||
command: |
|
||||
cd /build
|
||||
make cppcheck
|
||||
make cppcheck_htmlreport
|
||||
- store_artifacts:
|
||||
path: /build/static-analysis-reports
|
||||
destination: /static-analysis-reports
|
||||
# Sign rpm packages
|
||||
"rpm/sign":
|
||||
docker:
|
||||
@ -546,6 +568,10 @@ workflows:
|
||||
requires:
|
||||
- "publish/packages-dev"
|
||||
- "tests/driver-loader/integration"
|
||||
- "quality/static-analysis":
|
||||
context: falco
|
||||
requires:
|
||||
- "build/centos7"
|
||||
release:
|
||||
jobs:
|
||||
- "build/musl":
|
||||
|
Loading…
Reference in New Issue
Block a user