-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
271 changed files
with
27,091 additions
and
18,922 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,168 @@ | ||
--- | ||
Language: Cpp | ||
# BasedOnStyle: WebKit | ||
# Access specifiers are best unindented, to keep them easy to spot: | ||
AccessModifierOffset: -4 | ||
# Keep them together. Would be preferable to put all arguments on a new line | ||
AlignAfterOpenBracket: true | ||
# Newline escapes should be aligned, they're prettier that way | ||
AlignEscapedNewlinesLeft: false | ||
# Same with OpenBracket alignment. No need for that. | ||
AlignOperands: false | ||
# Purdy | ||
AlignTrailingComments: true | ||
AlignConsecutiveAssignments: true | ||
AlignConsecutiveDeclarations: true | ||
# Yuck: | ||
AllowAllParametersOfDeclarationOnNextLine: false | ||
AllowShortBlocksOnASingleLine: false | ||
AllowShortCaseLabelsOnASingleLine: false | ||
AllowShortIfStatementsOnASingleLine: false | ||
AllowShortLoopsOnASingleLine: false | ||
AllowShortFunctionsOnASingleLine: true | ||
# Ew, no. | ||
AlwaysBreakAfterDefinitionReturnType: false | ||
# Not mandatory... | ||
AlwaysBreakTemplateDeclarations: true | ||
# Readability: | ||
AlwaysBreakBeforeMultilineStrings: true | ||
# Nice... | ||
BreakBeforeBinaryOperators: All | ||
BreakBeforeTernaryOperators: true | ||
# Yessir | ||
BreakConstructorInitializersBeforeComma: true | ||
# Please, keep it readable: | ||
BinPackParameters: false | ||
BinPackArguments: false | ||
# Not a hard and fast rule, but yeah | ||
ColumnLimit: 100 | ||
# Bleh | ||
ConstructorInitializerAllOnOneLineOrOnePerLine: false | ||
# This is a tough one... it can be confusing to seem them alligned with code | ||
ConstructorInitializerIndentWidth: 4 | ||
# No, there's a One True Way to align these things | ||
DerivePointerAlignment: false | ||
# No need | ||
IndentCaseLabels: false | ||
# Gross | ||
IndentWrappedFunctionNames: false | ||
IndentFunctionDeclarationAfterType: false | ||
MaxEmptyLinesToKeep: 1 | ||
KeepEmptyLinesAtTheStartOfBlocks: true | ||
# Never ever ever | ||
NamespaceIndentation: None | ||
# These feel about right... | ||
PenaltyBreakBeforeFirstCallParameter: 600 | ||
PenaltyBreakComment: 300 | ||
PenaltyBreakString: 1000 | ||
PenaltyBreakFirstLessLess: 120 | ||
PenaltyExcessCharacter: 1000000 | ||
PenaltyReturnTypeOnItsOwnLine: 60 | ||
PointerAlignment: Left | ||
# Keep it away: | ||
SpacesBeforeTrailingComments: 2 | ||
Cpp11BracedListStyle: true | ||
Standard: Cpp11 | ||
IndentWidth: 4 | ||
TabWidth: 8 | ||
UseTab: Never | ||
BreakBeforeBraces: Attach | ||
# Used to do this, not anymore | ||
SpacesInParentheses: false | ||
SpacesInSquareBrackets: false | ||
SpacesInAngles: false | ||
SpaceInEmptyParentheses: false | ||
SpacesInCStyleCastParentheses: false | ||
SpaceAfterCStyleCast: false | ||
SpacesInContainerLiterals: true | ||
SpaceBeforeAssignmentOperators: true | ||
ContinuationIndentWidth: 4 | ||
CommentPragmas: '^ IWYU pragma:' | ||
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] | ||
SpaceBeforeParens: ControlStatements | ||
DisableFormat: false | ||
... | ||
--- | ||
Language: JavaScript | ||
# BasedOnStyle: WebKit | ||
# Access specifiers are best unindented, to keep them easy to spot: | ||
AccessModifierOffset: -4 | ||
# Keep them together. Would be preferable to put all arguments on a new line | ||
AlignAfterOpenBracket: true | ||
# Newline escapes should be aligned, they're prettier that way | ||
AlignEscapedNewlinesLeft: false | ||
# Same with OpenBracket alignment. No need for that. | ||
AlignOperands: false | ||
# Purdy | ||
AlignTrailingComments: true | ||
# Yuck: | ||
AllowAllParametersOfDeclarationOnNextLine: false | ||
AllowShortBlocksOnASingleLine: true | ||
AllowShortCaseLabelsOnASingleLine: false | ||
AllowShortIfStatementsOnASingleLine: false | ||
AllowShortLoopsOnASingleLine: false | ||
AllowShortFunctionsOnASingleLine: true | ||
# Ew, no. | ||
AlwaysBreakAfterDefinitionReturnType: false | ||
# Not mandatory... | ||
AlwaysBreakTemplateDeclarations: false | ||
# Readability: | ||
AlwaysBreakBeforeMultilineStrings: true | ||
# Nice... | ||
BreakBeforeBinaryOperators: All | ||
BreakBeforeTernaryOperators: true | ||
# Yessir | ||
BreakConstructorInitializersBeforeComma: true | ||
# Please, keep it readable: | ||
BinPackParameters: false | ||
BinPackArguments: false | ||
# Not a hard and fast rule, but yeah | ||
ColumnLimit: 100 | ||
# Bleh | ||
ConstructorInitializerAllOnOneLineOrOnePerLine: false | ||
# This is a tough one... it can be confusing to seem them alligned with code | ||
ConstructorInitializerIndentWidth: 4 | ||
# No, there's a One True Way to align these things | ||
DerivePointerAlignment: false | ||
# No need | ||
IndentCaseLabels: false | ||
# Gross | ||
IndentWrappedFunctionNames: false | ||
IndentFunctionDeclarationAfterType: false | ||
# Two empty lines are useful as physical seperators | ||
MaxEmptyLinesToKeep: 2 | ||
KeepEmptyLinesAtTheStartOfBlocks: true | ||
# Never ever ever | ||
NamespaceIndentation: None | ||
# These feel about right... | ||
PenaltyBreakBeforeFirstCallParameter: 600 | ||
PenaltyBreakComment: 300 | ||
PenaltyBreakString: 1000 | ||
PenaltyBreakFirstLessLess: 120 | ||
PenaltyExcessCharacter: 1000000 | ||
PenaltyReturnTypeOnItsOwnLine: 60 | ||
PointerAlignment: Left | ||
# Keep it away: | ||
SpacesBeforeTrailingComments: 2 | ||
Cpp11BracedListStyle: true | ||
Standard: Cpp11 | ||
IndentWidth: 2 | ||
TabWidth: 8 | ||
UseTab: Never | ||
# Attach is the One True Brace Style | ||
BreakBeforeBraces: Attach | ||
# Used to do this, not anymore | ||
SpacesInParentheses: false | ||
SpacesInSquareBrackets: false | ||
SpacesInAngles: false | ||
SpaceInEmptyParentheses: false | ||
SpacesInCStyleCastParentheses: false | ||
SpaceAfterCStyleCast: false | ||
SpacesInContainerLiterals: false | ||
SpaceBeforeAssignmentOperators: true | ||
ContinuationIndentWidth: 4 | ||
CommentPragmas: '^ IWYU pragma:' | ||
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] | ||
SpaceBeforeParens: ControlStatements | ||
DisableFormat: false | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
_build/ | ||
__pycache__/ | ||
.peru/ | ||
.vscode/ | ||
.vscode/ | ||
.mypy_cache/ | ||
_prebuilt/ | ||
.pytest_cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Refer: https://aka.ms/yaml | ||
|
||
jobs: | ||
|
||
- job: Windows_MSVC_VS2019 | ||
pool: | ||
vmImage: windows-2019 | ||
steps: | ||
- script: | | ||
echo Loading VS environment | ||
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\vsdevcmd" -arch=x64 || exit 1 | ||
echo Executing Build and Tests | ||
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f || exit 1 | ||
python -m pip install pytest pytest-xdist || exit 1 | ||
python -u tools/ci.py -B build -T tools\msvc.dds || exit 1 | ||
displayName: Full CI | ||
- publish: _build/dds.exe | ||
artifact: DDS Executable - Windows VS2019 | ||
|
||
- job: Linux_GCC8 | ||
pool: | ||
vmImage: ubuntu-18.04 | ||
steps: | ||
- script: | | ||
set -eu | ||
sudo apt update -y | ||
sudo apt install -y python3-minimal g++-9 g++-8 ccache | ||
python3 -m pip install pytest pytest-xdist | ||
displayName: Prepare System | ||
- script: python3 -u tools/ci.py -B build -T tools/gcc-9.dds | ||
displayName: Full CI | ||
- publish: _build/dds | ||
artifact: DDS Executable - Linux | ||
|
||
- job: macOS_GCC8 | ||
pool: | ||
vmImage: macOS-10.14 | ||
steps: | ||
- script: brew install gcc@8 gcc@9 ccache | ||
displayName: Prepare System | ||
- script: | | ||
set -eu | ||
python3 -m pip install pytest pytest-xdist | ||
python3 -u tools/ci.py -B build -T tools/gcc-9.dds | ||
displayName: Build and Run Unit Tests | ||
- publish: _build/dds | ||
artifact: DDS Executable - macOS |
Oops, something went wrong.