Добавлена конфигурация clang-format, удалена генерация ISO из CI

This commit is contained in:
Aren 2023-10-02 20:32:29 +03:00
parent 6a061fd4cb
commit 3a93d83df2
2 changed files with 31 additions and 2 deletions

30
.clang-format Normal file
View File

@ -0,0 +1,30 @@
ColumnLimit: 80
IndentWidth: 4
UseTab: ForIndentation
TabWidth: 4
SpacesBeforeTrailingComments: 1
NamespaceIndentation: None
AlignConsecutiveAssignments: false
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: true
AllowShortFunctionsOnASingleLine: Inline
AllowShortCaseLabelsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
BreakBeforeBinaryOperators: None
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: false
ConstructorInitializerAllOnOneLineOrOnePerLine: true
DerivePointerAlignment: true
IndentCaseLabels: true
KeepEmptyLinesAtTheStartOfBlocks: false
PointerAlignment: Right
ContinuationIndentWidth: 4
SpacesInParentheses: false
SpacesInSquareBrackets: false
SpacesInAngles: false
SpaceInEmptyParentheses: true
IndentPPDirectives: None
IncludeBlocks: Preserve
Cpp11BracedListStyle: false
Standard: Cpp11

View File

@ -26,12 +26,11 @@ jobs:
python3 build.py
cp kernel.elf x86_64-kernel.elf
cp mseos.hdd x86_64-mseos.hdd
cp mseos.iso x86_64-mseos.iso
- name: Add and commit files
uses: EndBug/add-and-commit@v9
with:
add: 'x86_64-kernel.elf x86_64-mseos.hdd x86_64-mseos.iso'
add: 'x86_64-kernel.elf x86_64-mseos.hdd'
author_name: Bot
author_email: bot@example.com
commit: --signoff