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

View File

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