okular/.kde-ci.yml
Sune Vuorela 22550bbc05 Improve cppcheck configuration
- Ignore autotests sources
- Teach cppcheck about a okular specific define
- Keep the default options from the KDE setup

This at least for me brings the cppcheck entries from "unusable" to "something that probably should be looked into"
2023-08-05 08:25:36 +00:00

35 lines
894 B
YAML

# SPDX-FileCopyrightText: None
# SPDX-License-Identifier: CC0-1.0
Dependencies:
- 'on': ['@all']
'require':
'frameworks/kbookmarks': '@stable'
'frameworks/threadweaver': '@stable'
'frameworks/ki18n': '@stable'
'frameworks/kio': '@stable'
'frameworks/karchive': '@stable'
'libraries/phonon': '@stable'
'graphics/kdegraphics-mobipocket': '@same'
- 'on': ['Linux', 'FreeBSD', 'Windows']
'require':
'frameworks/khtml': '@stable'
'frameworks/purpose': '@stable'
'frameworks/breeze-icons': '@stable'
'graphics/libkexiv2': '@same'
- 'on': ['Linux', 'FreeBSD']
'require':
'frameworks/kactivities': '@stable'
'frameworks/kpty': '@stable'
- 'on': ['Android']
'require':
'frameworks/kirigami': '@stable'
Options:
cppcheck-arguments: '--enable=warning,style,performance -DOKULAR_EXPORT_PLUGIN'
cppcheck-ignore-files:
- autotests