feat(reports): Cppcheck HTML-Report via cppcheck-htmlreport, klickbar
This commit is contained in:
@@ -87,11 +87,17 @@ jobs:
|
||||
- name: Doxygen API-Dokumentation
|
||||
run: make docs
|
||||
|
||||
- name: Cppcheck-Report (XML)
|
||||
- name: Cppcheck-Report (XML + HTML)
|
||||
run: |
|
||||
mkdir -p build
|
||||
cppcheck --enable=all --inconclusive --xml --xml-version=2 \
|
||||
-I src src 2> build/cppcheck-report.xml || true
|
||||
# cppcheck-htmlreport ist Teil des cppcheck-Pakets
|
||||
cppcheck-htmlreport \
|
||||
--file=build/cppcheck-report.xml \
|
||||
--report-dir=build/cppcheck-html \
|
||||
--source-dir=. \
|
||||
--title="demo-epb Cppcheck Report" || echo "htmlreport skipped"
|
||||
|
||||
- name: Landing-Page
|
||||
run: make landing-page
|
||||
@@ -156,7 +162,7 @@ jobs:
|
||||
echo "Mount $DEPLOY nicht da — Runner-Config pruefen. Skip."
|
||||
exit 0
|
||||
fi
|
||||
mkdir -p "$DEPLOY"/{docs,coverage,traceability,diagrams,api-doc,reports,src,misra/records}
|
||||
mkdir -p "$DEPLOY"/{docs,coverage,traceability,diagrams,api-doc,reports/cppcheck,src,misra/records}
|
||||
cp build/index.html "$DEPLOY/index.html"
|
||||
cp -r docs/plaene docs/safety docs/manuals docs/reviews docs/non-conformities "$DEPLOY/docs/"
|
||||
cp -r build/coverage-html/. "$DEPLOY/coverage/" 2>/dev/null || true
|
||||
@@ -165,6 +171,7 @@ jobs:
|
||||
cp -r build/api-doc/html/. "$DEPLOY/api-doc/" 2>/dev/null || true
|
||||
cp build/test-report.html build/test-report.md "$DEPLOY/reports/" 2>/dev/null || true
|
||||
cp build/cppcheck-report.xml "$DEPLOY/reports/" 2>/dev/null || true
|
||||
cp -r build/cppcheck-html/. "$DEPLOY/reports/cppcheck/" 2>/dev/null || true
|
||||
cp src/*.c src/*.h "$DEPLOY/src/"
|
||||
cp -r src/stubs "$DEPLOY/src/" 2>/dev/null || true
|
||||
cp -r misra/records/. "$DEPLOY/misra/records/" 2>/dev/null || true
|
||||
|
||||
Reference in New Issue
Block a user