updated .clang-format to be compatible wih version 10, and added directory change for clang compilation and testing

This commit is contained in:
The-EDev 2021-11-25 22:23:55 +03:00
parent 185117b56a
commit 4ae3d6d932
No known key found for this signature in database
GPG Key ID: 51C45DC0C413DCD9
2 changed files with 3 additions and 1 deletions

View File

@ -4,7 +4,7 @@ AccessModifierOffset: '-4'
AlignAfterOpenBracket: Align
AlignConsecutiveMacros: 'false'
AlignEscapedNewlines: Left
AlignOperands: AlignAfterOperator
AlignOperands: 'true' #AlignAfterOperator
AlignTrailingComments: 'true'
AllowShortBlocksOnASingleLine: 'true'
AllowShortCaseLabelsOnASingleLine: 'true'
@ -20,6 +20,7 @@ BinPackArguments: 'true'
BinPackParameters: 'true'
BreakBeforeBraces: Allman
BreakBeforeTernaryOperators: 'false'
BreakBeforeBinaryOperators: 'false'
BreakConstructorInitializers: AfterColon
BreakInheritanceList: AfterColon
ColumnLimit: '0'

View File

@ -43,6 +43,7 @@ steps:
- cd crow-clang-format
- chmod +x crow-clang-format.sh get-access-token.sh make-jwt.sh
- ./crow-clang-format.sh
- cd ..
- export CC=/usr/bin/clang
- export CXX=/usr/bin/clang++
- mkdir build-clang