mirror of
https://github.com/falcosecurity/falco.git
synced 2025-06-27 15:17:50 +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:
|
- run:
|
||||||
name: Execute driver-loader integration tests
|
name: Execute driver-loader integration tests
|
||||||
command: /tmp/ws/source/falco/test/driver-loader/run_test.sh /tmp/ws/build/release/
|
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
|
# Sign rpm packages
|
||||||
"rpm/sign":
|
"rpm/sign":
|
||||||
docker:
|
docker:
|
||||||
@ -546,6 +568,10 @@ workflows:
|
|||||||
requires:
|
requires:
|
||||||
- "publish/packages-dev"
|
- "publish/packages-dev"
|
||||||
- "tests/driver-loader/integration"
|
- "tests/driver-loader/integration"
|
||||||
|
- "quality/static-analysis":
|
||||||
|
context: falco
|
||||||
|
requires:
|
||||||
|
- "build/centos7"
|
||||||
release:
|
release:
|
||||||
jobs:
|
jobs:
|
||||||
- "build/musl":
|
- "build/musl":
|
||||||
|
Loading…
Reference in New Issue
Block a user