22 lines
602 B
YAML
22 lines
602 B
YAML
include:
|
|
- /gitlab-templates/blocks/workflow.yml
|
|
- /gitlab-templates/blocks/ci-linux-base.yml
|
|
|
|
cppcheck:
|
|
extends:
|
|
- .ci_linux_base
|
|
- .suse_tumbleweed_qt6stable_docker
|
|
stage: build
|
|
interruptible: true
|
|
before_script:
|
|
- git clone https://invent.kde.org/sysadmin/ci-utilities.git --depth=1
|
|
script:
|
|
- git config --global --add safe.directory $CI_PROJECT_DIR
|
|
- python3 -u ci-utilities/run-cppcheck.py --project $CI_PROJECT_NAME
|
|
artifacts:
|
|
expire_in: 2 weeks
|
|
when: always
|
|
paths:
|
|
- "kde-ci-reports/cppcheck/*"
|
|
reports:
|
|
codequality: cppcheck.json
|