Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KDE PIM Add-ons
Commits
907f6ee8
Commit
907f6ee8
authored
Nov 30, 2021
by
Nicolás Alvarez
Browse files
Enable new GitLab CI on stable branch.
parent
ac323a6e
Pipeline
#107488
skipped
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
907f6ee8
...
...
@@ -2,32 +2,5 @@
# SPDX-License-Identifier: CC0-1.0
include
:
-
https://invent.kde.org/sysadmin/ci-tooling/raw/master/invent/ci-before.yml
-
https://invent.kde.org/sysadmin/ci-tooling/raw/master/invent/ci-applications-linux.yml
build_clazy_clang_tidy
:
stage
:
build
image
:
kdeorg/ci-suse-qt515
extends
:
.linux
#only:
# - merge_requests
before_script
:
-
zypper install -y clazy
-
git clone --depth=1 https://invent.kde.org/sysadmin/ci-tooling.git $CI_TOOLING
-
git clone --depth=1 https://invent.kde.org/sysadmin/repo-metadata.git $CI_TOOLING/repo-metadata
-
git clone --depth=1 https://invent.kde.org/sysadmin/kde-build-metadata.git $CI_TOOLING/kde-build-metadata
-
git clone --depth=1 https://invent.kde.org/sdk/kde-dev-scripts.git $CI_TOOLING/kde-dev-scripts
script
:
-
export CXX=clazy
-
export CC=clang
-
export CXXFLAGS="-Wno-deprecated-declarations"
-
export CLAZY_HEADER_FILTER='^(?!ui_)\w+.h\$'
-
export CLAZY_CHECKS="level0,level1,detaching-member,ifndef-define-typo,isempty-vs-count,qrequiredresult-candidates,reserve-candidates,signal-with-return-value,unneeded-cast,function-args-by-ref,function-args-by-value,returning-void-expression,no-ctor-missing-parent-argument,isempty-vs-count,qhash-with-char-pointer-key,raw-environment-function,qproperty-type-mismatch,old-style-connect,qstring-allocations,container-inside-loop,heap-allocated-small-trivial-type,inefficient-qlist,qstring-varargs"
-
python3 -u $CI_TOOLING/helpers/prepare-dependencies.py --product $PRODUCT --project $PROJECT --branchGroup $BRANCH_GROUP --environment production --platform $PLATFORM --installTo $INSTALL_PREFIX
-
python3 -u $CI_TOOLING/helpers/configure-build.py --product $PRODUCT --project $PROJECT --branchGroup $BRANCH_GROUP --platform $PLATFORM --installTo $INSTALL_PREFIX
-
python3 -u $CI_TOOLING/helpers/compile-build.py --product $PRODUCT --project $PROJECT --branchGroup $BRANCH_GROUP --platform $PLATFORM --usingInstall $INSTALL_PREFIX
-
cd build && run-clang-tidy
variables
:
PLATFORM
:
SUSEQt5.15
BRANCH_GROUP
:
stable-kf5-qt5
-
https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux.yml
-
https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/freebsd.yml
.kde-ci.yml
View file @
907f6ee8
...
...
@@ -5,30 +5,42 @@ Dependencies:
-
'
on'
:
[
'
@all'
]
'
require'
:
'
frameworks/extra-cmake-modules'
:
'
@latest'
'
kde/pim/akonadi'
:
'
@same'
'
kde/pim/akonadi-calendar'
:
'
@same'
'
kde/pim/akonadi-contacts'
:
'
@same'
'
kde/pim/akonadi-import-wizard'
:
'
@same'
'
kde/pim/akonadi-notes'
:
'
@same'
'
kde/pim/calendarsupport'
:
'
@same'
'
kde/pim/eventviews'
:
'
@same'
'
kde/pim/grantleetheme'
:
'
@same'
'
kde/pim/incidenceeditor'
:
'
@same'
'
kde/pim/kcalutils'
:
'
@same'
'
kde/pim/kidentitymanagement'
:
'
@same'
'
kde/pim/kimap'
:
'
@same'
'
kde/pim/kmailtransport'
:
'
@same'
'
kde/pim/kontactinterface'
:
'
@same'
'
kde/pim/kpimtextedit'
:
'
@same'
'
kde/pim/ktnef'
:
'
@same'
'
kde/pim/libgravatar'
:
'
@same'
'
kde/pim/libkdepim'
:
'
@same'
'
kde/pim/libkleo'
:
'
@same'
'
kde/pim/libksieve'
:
'
@same'
'
kde/pim/mailcommon'
:
'
@same'
'
kde/pim/mailimporter'
:
'
@same'
'
kde/pim/messagelib'
:
'
@same'
'
kde/pim/pimcommon'
:
'
@same'
'
kde/pim/kpkpass'
:
'
@same'
'
kde/pim/kitinerary'
:
'
@same'
'
frameworks/kholidays'
:
'
@latest'
'
frameworks/kio'
:
'
@latest'
'
frameworks/kconfig'
:
'
@latest'
'
frameworks/kdbusaddons'
:
'
@latest'
'
frameworks/kxmlgui'
:
'
@latest'
'
frameworks/kiconthemes'
:
'
@latest'
'
frameworks/kguiaddons'
:
'
@latest'
'
frameworks/kparts'
:
'
@latest'
'
frameworks/kcalendarcore'
:
'
@latest'
'
frameworks/kcontacts'
:
'
@latest'
'
frameworks/prison'
:
'
@latest'
'
frameworks/kdeclarative'
:
'
@latest'
'
pim/akonadi'
:
'
@same'
'
pim/akonadi-calendar'
:
'
@same'
'
pim/akonadi-contacts'
:
'
@same'
'
pim/akonadi-import-wizard'
:
'
@same'
'
pim/akonadi-notes'
:
'
@same'
'
pim/calendarsupport'
:
'
@same'
'
pim/eventviews'
:
'
@same'
'
pim/grantleetheme'
:
'
@same'
'
pim/incidenceeditor'
:
'
@same'
'
pim/kcalutils'
:
'
@same'
'
pim/kidentitymanagement'
:
'
@same'
'
pim/kimap'
:
'
@same'
'
pim/kmailtransport'
:
'
@same'
'
pim/kontactinterface'
:
'
@same'
'
pim/kpimtextedit'
:
'
@same'
'
pim/ktnef'
:
'
@same'
'
pim/libgravatar'
:
'
@same'
'
pim/libkdepim'
:
'
@same'
'
pim/libkleo'
:
'
@same'
'
pim/libksieve'
:
'
@same'
'
pim/mailcommon'
:
'
@same'
'
pim/mailimporter'
:
'
@same'
'
pim/messagelib'
:
'
@same'
'
pim/pimcommon'
:
'
@same'
'
pim/kpkpass'
:
'
@same'
'
pim/kitinerary'
:
'
@same'
'
third-party/grantlee'
:
'
@stable'
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment