diff options
| author | 2024-12-29 20:59:02 +0100 | |
|---|---|---|
| committer | 2024-12-29 20:59:02 +0100 | |
| commit | b8486f92408afa1a0c71d3f62d93f49ac8bebc60 (patch) | |
| tree | 7a565583ad8b8a411e56e1085520a46ba67b1eb0 | |
| parent | b33bdad4072edbd087f1603d5a261f42567c0511 (diff) | |
| download | OneRoll-b8486f92408afa1a0c71d3f62d93f49ac8bebc60.tar.gz OneRoll-b8486f92408afa1a0c71d3f62d93f49ac8bebc60.zip | |
add ci file
| -rw-r--r-- | .clang-format | 47 | ||||
| -rw-r--r-- | .gitlab-ci.yml | 13 |
2 files changed, 58 insertions, 2 deletions
diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..56e4288 --- /dev/null +++ b/.clang-format @@ -0,0 +1,47 @@ +BasedOnStyle: LLVM +AccessModifierOffset: '-4' +AlignAfterOpenBracket: 'true' +AlignConsecutiveAssignments: 'false' +AlignOperands: 'true' +AlignEscapedNewlines: 'Left' +AllowAllParametersOfDeclarationOnNextLine: 'true' +AllowShortBlocksOnASingleLine: 'false' +AllowShortCaseLabelsOnASingleLine: 'false' +AllowShortFunctionsOnASingleLine: Inline +AllowShortIfStatementsOnASingleLine: 'false' +AllowShortLoopsOnASingleLine: 'false' +AlwaysBreakAfterDefinitionReturnType: None +AlwaysBreakBeforeMultilineStrings: 'false' +AlwaysBreakTemplateDeclarations: 'true' +BinPackArguments: 'true' +BinPackParameters: 'true' +BreakBeforeBinaryOperators: All +BreakBeforeBraces: Allman +#BreakConstructorInitializers: BCIS_BeforeColon +BreakBeforeTernaryOperators: 'false' +BreakConstructorInitializersBeforeComma: 'true' +ColumnLimit: '120' +ConstructorInitializerAllOnOneLineOrOnePerLine: 'true' +ConstructorInitializerIndentWidth: '4' +ContinuationIndentWidth: '4' +Cpp11BracedListStyle: 'true' +IndentWidth: '4' +KeepEmptyLinesAtTheStartOfBlocks: 'true' +Language: Cpp +MaxEmptyLinesToKeep: '1' +NamespaceIndentation: None +PointerAlignment: Left +SpaceAfterCStyleCast: 'false' +SpaceAfterTemplateKeyword: 'true' +SpaceBeforeAssignmentOperators: 'false' +SpaceBeforeParens: Never +SpaceInEmptyParentheses: 'false' +SpacesBeforeTrailingComments: '1' +SpacesInAngles: 'false' +SpacesInCStyleCastParentheses: 'false' +SpacesInContainerLiterals: 'false' +SpacesInParentheses: 'false' +SpacesInSquareBrackets: 'false' +Standard: Cpp11 +TabWidth: '4' +UseTab: Never diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 650877a..ad85a70 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,14 @@ -# SPDX-FileCopyrightText: 2020 Volker Krause <vkrause@kde.org> +# SPDX-FileCopyrightText: None # SPDX-License-Identifier: CC0-1.0 include: - - https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux-qt6.yml + - project: sysadmin/ci-utilities + file: + - /gitlab-templates/windows-qt6.yml + - /gitlab-templates/linux-qt6.yml + +variables: + GIT_SUBMODULE_STRATEGY: recursive + + + |