-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from RoboJackets/feat/simple-ci
Feat/simple ci
- Loading branch information
Showing
12 changed files
with
137 additions
and
1 deletion.
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,48 @@ | ||
--- | ||
BasedOnStyle: Google | ||
BreakBeforeBraces: Allman | ||
AccessModifierOffset: -2 | ||
AlignEscapedNewlines: Right | ||
AlignTrailingComments: true | ||
AllowAllParametersOfDeclarationOnNextLine: false | ||
AllowShortFunctionsOnASingleLine: None | ||
AllowShortIfStatementsOnASingleLine: false | ||
AllowShortLoopsOnASingleLine: false | ||
AlwaysBreakBeforeMultilineStrings: false | ||
AlwaysBreakTemplateDeclarations: true | ||
BinPackParameters: true | ||
BraceWrapping: | ||
AfterUnion: true | ||
BreakBeforeBinaryOperators: None | ||
BreakBeforeTernaryOperators: false | ||
BreakConstructorInitializers: BeforeComma | ||
ColumnLimit: 120 | ||
ConstructorInitializerAllOnOneLineOrOnePerLine: true | ||
ConstructorInitializerIndentWidth: 2 | ||
ContinuationIndentWidth: 4 | ||
Cpp11BracedListStyle: false | ||
ExperimentalAutoDetectBinPacking: false | ||
IndentCaseLabels: true | ||
IndentWidth: 2 | ||
IndentWrappedFunctionNames: false | ||
MaxEmptyLinesToKeep: 1 | ||
NamespaceIndentation: None | ||
ObjCSpaceBeforeProtocolList: true | ||
PenaltyBreakBeforeFirstCallParameter: 19 | ||
PenaltyBreakComment: 60 | ||
PenaltyBreakFirstLessLess: 1000 | ||
PenaltyBreakString: 1 | ||
PenaltyExcessCharacter: 1000 | ||
PenaltyReturnTypeOnItsOwnLine: 90 | ||
PointerAlignment: Left | ||
SortIncludes: false | ||
SpaceBeforeAssignmentOperators: true | ||
SpaceBeforeParens: ControlStatements | ||
SpacesBeforeTrailingComments: 2 | ||
SpaceInEmptyParentheses: false | ||
SpacesInAngles: false | ||
SpacesInCStyleCastParentheses: false | ||
SpacesInParentheses: false | ||
Standard: Auto | ||
TabWidth: 2 | ||
UseTab: Never |
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,46 @@ | ||
--- | ||
Checks: '-*, | ||
performance-*, | ||
llvm-namespace-comment, | ||
modernize-*, | ||
readability-*, | ||
bugprone-* | ||
-clang-diagnostic-unused-command-line-argument, | ||
' | ||
WarningsAsErrors: '*' | ||
HeaderFilterRegex: 'src/igvc-software/igvc_(navigation)/.*\.h' | ||
AnalyzeTemporaryDtors: false | ||
CheckOptions: | ||
- key: llvm-namespace-comment.ShortNamespaceLines | ||
value: '10' | ||
- key: llvm-namespace-comment.SpacesBeforeComments | ||
value: '2' | ||
- key: readability-braces-around-statements.ShortStatementLines | ||
value: '2' | ||
# Type names are CamelCase | ||
- key: readability-identifier-naming.ClassCase | ||
value: CamelCase | ||
- key: readability-identifier-naming.EnumCase | ||
value: CamelCase | ||
- key: readability-identifier-naming.UnionCase | ||
value: CamelCase | ||
# Method names are camelBack | ||
- key: readability-identifier-naming.MethodCase | ||
value: camelBack | ||
# Variable names snake_case | ||
- key: readability-identifier-naming.VariableCase | ||
value: lower_case | ||
# Member variables are snake_case_ | ||
- key: readability-identifier-naming.ClassMemberSuffix | ||
value: '_' | ||
# Except for constexpr | ||
- key: readability-identifier-naming.ConstexprVariableCase | ||
value: lower_case | ||
- key: readability-identifier-naming.ConstexprVariableSuffix | ||
value: '' | ||
# Gobal variables are g_lower_case | ||
- key: readability-identifier-naming.GlobalVariableCase | ||
value: lower_case | ||
- key: readability-identifier-naming.GlobalVariablePrefix | ||
value: 'g_' | ||
... |
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,27 @@ | ||
name: ci | ||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
workflow_dispatch: | ||
jobs: | ||
build: | ||
runs-on: ubuntu-20.04 | ||
container: ros:galactic | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
path: src/urc-software | ||
- name: Install Dependencies | ||
shell: bash | ||
run: | | ||
source /opt/ros/galactic/setup.bash | ||
sudo apt-get update | ||
rosdep update --rosdistro=galactic | ||
rosdep install --from-paths . --ignore-src -y | ||
- name: Build | ||
shell: bash | ||
run: | | ||
source /opt/ros/galactic/setup.bash | ||
colcon build |
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,12 @@ | ||
# JetBrains Clion | ||
*/.idea/ | ||
/.idea/ | ||
|
||
# VSCode | ||
.vscode | ||
|
||
# CMake | ||
*/cmake-build-*/ | ||
|
||
# sublime-text | ||
*.sublime-workspace |
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 +1,4 @@ | ||
# urc-software | ||
# urc-software [![CI Status Badge](https://github.com/RoboJackets/urc-software/actions/workflows/ci.yml/badge.svg)](https://github.com/RoboJackets/urc-software/actions) | ||
|
||
|
||
Welcome to the RoboJackets URC software repo! This document will give you a brief description of the repo's layout and an overview of the repo. |
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.