Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
Replace cppcheck.yml with sysadmin/ci-utils cppcheck template.
Wolthera van Hövella2f3c360e23b
diff --git a/.gitlab-ci.yml b/.gitlab-ci.ymlindex 547f4eccd3..d1398d0e0a 100644--- a/.gitlab-ci.yml+++ b/.gitlab-ci.yml@@ -124,8 +124,11 @@ workflow:- if: $CI_COMMIT_BRANCH =~ $release_branch_patterninclude:- - local: /build-tools/ci-scripts/cppcheck.yml- local: /build-tools/ci-scripts/linux.yml- local: /build-tools/ci-scripts/windows.yml- local: /build-tools/ci-scripts/android.yml- local: /build-tools/ci-scripts/macos.yml+ - project: sysadmin/ci-utilities+ file:+ - /gitlab-templates/cppcheck.yml+diff --git a/build-tools/ci-scripts/cppcheck.yml b/build-tools/ci-scripts/cppcheck.ymldeleted file mode 100644index eb421fab29..0000000000--- a/build-tools/ci-scripts/cppcheck.yml+++ /dev/null@@ -1,34 +0,0 @@-cppcheck:- stage: build- image: invent-registry.kde.org/sysadmin/ci-images/krita-appimage-builder:latest- tags:- - Linux- interruptible: true- before_script:- - git clone https://invent.kde.org/sysadmin/ci-utilities- script:- - python3 -u ci-utilities/run-cppcheck.py --project $CI_PROJECT_NAME- rules:- - if: $CI_PIPELINE_SOURCE == "schedule"- when: never- - if: $CI_COMMIT_BRANCH =~ $release_branch_pattern- when: never- - changes:- - "**/*.c"- - "**/*.h"- - "**/*.cc"- - "**/*.hh"- - "**/*.cpp"- - "**/*.hpp"- - "**/*.cxx"- - "**/*.hxx"- - "**/*.ii"- - "**/*.ipp"- - "**/*.ixx"- artifacts:- paths:- - "cppcheck_out.xml"- expire_in: 1 week- when: on_success- reports:- codequality: cppcheck.json