Skip to content

Commit 6a72280

Browse files
Merge pull request #1339 from tier4/sync-upstream
chore: sync tier4/autoware.universe:awf-latest
2 parents a732236 + ad1be18 commit 6a72280

File tree

3,826 files changed

+183249
-138853
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,826 files changed

+183249
-138853
lines changed

.cppcheck_suppressions

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
arrayIndexThenCheck
2+
assignBoolToFloat
3+
checkersReport
4+
constParameterPointer
5+
constParameterReference
6+
constStatement
7+
constVariable
8+
constVariablePointer
9+
constVariableReference
10+
containerOutOfBounds
11+
cstyleCast
12+
ctuOneDefinitionRuleViolation
13+
current_deleted_index
14+
duplicateAssignExpression
15+
duplicateBranch
16+
duplicateBreak
17+
duplicateCondition
18+
duplicateExpression
19+
funcArgNamesDifferent
20+
functionConst
21+
functionStatic
22+
invalidPointerCast
23+
knownConditionTrueFalse
24+
missingInclude
25+
missingIncludeSystem
26+
multiCondition
27+
noConstructor
28+
noExplicitConstructor
29+
noValidConfiguration
30+
obstacle_cruise_planner
31+
passedByValue
32+
preprocessorErrorDirective
33+
redundantAssignment
34+
redundantContinue
35+
redundantIfRemove
36+
redundantInitialization
37+
returnByReference
38+
selfAssignment
39+
shadowArgument
40+
shadowFunction
41+
shadowVariable
42+
stlFindInsert
43+
syntaxError
44+
uninitMemberVar
45+
unknownMacro
46+
unmatchedSuppression
47+
unpreciseMathCall
48+
unreadVariable
49+
unsignedLessThanZero
50+
unusedFunction
51+
unusedScopedObject
52+
unusedStructMember
53+
unusedVariable
54+
useInitializationList
55+
useStlAlgorithm
56+
uselessCallsSubstr
57+
uselessOverride
58+
variableScope
59+
virtualCallInConstructor

.github/CODEOWNERS

+98-93
Large diffs are not rendered by default.

.github/sync-files.yaml

+10-32
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@
1818
- source: .github/workflows/pre-commit-optional.yaml
1919
- source: .github/workflows/semantic-pull-request.yaml
2020
- source: .github/workflows/spell-check-differential.yaml
21+
pre-commands: |
22+
sd " with:\n" " with:\n local-cspell-json: .cspell.json\n" {source}
23+
- source: .github/workflows/spell-check-differential.yaml
24+
dest: .github/workflows/spell-check-daily.yaml
25+
pre-commands: |
26+
sd "spell-check-differential" "spell-check-daily" {source}
27+
sd " with:\n" " with:\n local-cspell-json: .cspell.json\n incremental-files-only: false\n" {source}
28+
sd "on:\n pull_request:\n" "on:\n schedule:\n - cron: 0 0 * * *\n workflow_dispatch:\n" {source}
2129
- source: .github/workflows/sync-files.yaml
2230
- source: .clang-format
2331
- source: .markdown-link-check.json
@@ -31,39 +39,9 @@
3139

3240
- repository: autowarefoundation/autoware_common
3341
files:
34-
- source: .github/workflows/build-and-test.yaml
35-
pre-commands: |
36-
sd "container: ros:(\w+)" "container: ghcr.io/autowarefoundation/autoware-universe:\$1-latest" {source}
37-
38-
sd -s 'container: ${{ matrix.container }}' 'container: ${{ matrix.container }}${{ matrix.container-suffix }}' {source}
39-
sd -- \
40-
" include:" \
41-
" container-suffix:
42-
- \"\"
43-
- -cuda
44-
include:" {source}
45-
- source: .github/workflows/build-and-test-differential-self-hosted.yaml
42+
- source: .github/workflows/clang-tidy-differential.yaml
4643
pre-commands: |
47-
sd "container: ros:(\w+)" "container: ghcr.io/autowarefoundation/autoware-universe:\$1-latest" {source}
48-
49-
sd -s 'container: ${{ matrix.container }}' 'container: ${{ matrix.container }}${{ matrix.container-suffix }}' {source}
50-
sd -- \
51-
" include:" \
52-
" container-suffix:
53-
- \"\"
54-
- -cuda
55-
include:" {source}
56-
- source: .github/workflows/build-and-test-self-hosted.yaml
57-
pre-commands: |
58-
sd "container: ros:(\w+)" "container: ghcr.io/autowarefoundation/autoware-universe:\$1-latest" {source}
59-
60-
sd -s 'container: ${{ matrix.container }}' 'container: ${{ matrix.container }}${{ matrix.container-suffix }}' {source}
61-
sd -- \
62-
" include:" \
63-
" container-suffix:
64-
- \"\"
65-
- -cuda
66-
include:" {source}
44+
sd 'container: ros:(\w+)' 'container: ghcr.io/autowarefoundation/autoware:latest-prebuilt-cuda' {source}
6745
- source: .github/workflows/check-build-depends.yaml
6846
- source: .github/workflows/clang-tidy-pr-comments.yaml
6947
- source: .github/workflows/clang-tidy-pr-comments-manually.yaml

.github/workflows/build-and-test-arm64.yaml

-55
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
name: build-and-test-daily-arm64
2+
3+
on:
4+
schedule:
5+
- cron: 0 0 * * *
6+
workflow_dispatch:
7+
8+
jobs:
9+
build-and-test-daily-arm64:
10+
runs-on: [self-hosted, linux, ARM64]
11+
container: ${{ matrix.container }}${{ matrix.container-suffix }}
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
rosdistro:
16+
- humble
17+
container-suffix:
18+
- ""
19+
- -cuda
20+
include:
21+
- rosdistro: humble
22+
container: ghcr.io/autowarefoundation/autoware:latest-prebuilt
23+
build-depends-repos: build_depends.repos
24+
steps:
25+
- name: Check out repository
26+
uses: actions/checkout@v4
27+
with:
28+
fetch-depth: 1
29+
30+
- name: Show disk space before the tasks
31+
run: df -h
32+
33+
- name: Remove exec_depend
34+
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1
35+
36+
- name: Get self packages
37+
id: get-self-packages
38+
uses: autowarefoundation/autoware-github-actions/get-self-packages@v1
39+
40+
- name: Build
41+
if: ${{ steps.get-self-packages.outputs.self-packages != '' }}
42+
uses: autowarefoundation/autoware-github-actions/colcon-build@v1
43+
with:
44+
rosdistro: ${{ matrix.rosdistro }}
45+
target-packages: ${{ steps.get-self-packages.outputs.self-packages }}
46+
build-depends-repos: ${{ matrix.build-depends-repos }}
47+
48+
- name: Test
49+
if: ${{ steps.get-self-packages.outputs.self-packages != '' }}
50+
id: test
51+
uses: autowarefoundation/autoware-github-actions/colcon-test@v1
52+
with:
53+
rosdistro: ${{ matrix.rosdistro }}
54+
target-packages: ${{ steps.get-self-packages.outputs.self-packages }}
55+
build-depends-repos: ${{ matrix.build-depends-repos }}
56+
57+
- name: Upload coverage to CodeCov
58+
if: ${{ steps.test.outputs.coverage-report-files != '' }}
59+
uses: codecov/codecov-action@v4
60+
with:
61+
files: ${{ steps.test.outputs.coverage-report-files }}
62+
fail_ci_if_error: false
63+
verbose: true
64+
flags: total-arm64
65+
66+
- name: Show disk space after the tasks
67+
run: df -h
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
name: build-and-test-daily
2+
3+
on:
4+
schedule:
5+
- cron: 0 0 * * *
6+
workflow_dispatch:
7+
8+
jobs:
9+
build-and-test-daily:
10+
runs-on: [self-hosted, linux, X64]
11+
container: ${{ matrix.container }}${{ matrix.container-suffix }}
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
rosdistro:
16+
- humble
17+
container-suffix:
18+
- ""
19+
- -cuda
20+
include:
21+
- rosdistro: humble
22+
container: ghcr.io/autowarefoundation/autoware:latest-prebuilt
23+
build-depends-repos: build_depends.repos
24+
steps:
25+
- name: Check out repository
26+
uses: actions/checkout@v4
27+
with:
28+
fetch-depth: 1
29+
30+
- name: Show disk space before the tasks
31+
run: df -h
32+
33+
- name: Remove exec_depend
34+
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1
35+
36+
- name: Get self packages
37+
id: get-self-packages
38+
uses: autowarefoundation/autoware-github-actions/get-self-packages@v1
39+
40+
- name: Build
41+
if: ${{ steps.get-self-packages.outputs.self-packages != '' }}
42+
uses: autowarefoundation/autoware-github-actions/colcon-build@v1
43+
with:
44+
rosdistro: ${{ matrix.rosdistro }}
45+
target-packages: ${{ steps.get-self-packages.outputs.self-packages }}
46+
build-depends-repos: ${{ matrix.build-depends-repos }}
47+
48+
- name: Test
49+
if: ${{ steps.get-self-packages.outputs.self-packages != '' }}
50+
id: test
51+
uses: autowarefoundation/autoware-github-actions/colcon-test@v1
52+
with:
53+
rosdistro: ${{ matrix.rosdistro }}
54+
target-packages: ${{ steps.get-self-packages.outputs.self-packages }}
55+
build-depends-repos: ${{ matrix.build-depends-repos }}
56+
57+
- name: Upload coverage to CodeCov
58+
if: ${{ steps.test.outputs.coverage-report-files != '' }}
59+
uses: codecov/codecov-action@v4
60+
with:
61+
files: ${{ steps.test.outputs.coverage-report-files }}
62+
fail_ci_if_error: false
63+
verbose: true
64+
flags: total
65+
66+
- name: Show disk space after the tasks
67+
run: df -h

.github/workflows/build-and-test-differential-arm64.yaml

+22-8
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ on:
55
types:
66
- opened
77
- synchronize
8+
- reopened
89
- labeled
9-
workflow_dispatch:
1010

1111
jobs:
12-
prevent-no-label-execution:
13-
uses: autowarefoundation/autoware-github-actions/.github/workflows/prevent-no-label-execution.yaml@v1
12+
make-sure-label-is-present:
13+
uses: autowarefoundation/autoware-github-actions/.github/workflows/make-sure-label-is-present.yaml@v1
1414
with:
1515
label: type:arm64
1616

1717
build-and-test-differential-arm64:
18-
needs: prevent-no-label-execution
19-
if: ${{ needs.prevent-no-label-execution.outputs.run == 'true' }}
18+
needs: make-sure-label-is-present
19+
if: ${{ needs.make-sure-label-is-present.outputs.result == 'true' }}
2020
runs-on: [self-hosted, linux, ARM64]
2121
container: ${{ matrix.container }}${{ matrix.container-suffix }}
2222
strategy:
@@ -29,13 +29,17 @@ jobs:
2929
- -cuda
3030
include:
3131
- rosdistro: humble
32-
container: ghcr.io/autowarefoundation/autoware-openadk:latest-prebuilt
32+
container: ghcr.io/autowarefoundation/autoware:latest-prebuilt
3333
build-depends-repos: build_depends.repos
3434
steps:
35-
- name: Check out repository
35+
- name: Set PR fetch depth
36+
run: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}"
37+
38+
- name: Checkout PR branch and all PR commits
3639
uses: actions/checkout@v4
3740
with:
38-
fetch-depth: 0
41+
ref: ${{ github.event.pull_request.head.sha }}
42+
fetch-depth: ${{ env.PR_FETCH_DEPTH }}
3943

4044
- name: Show disk space before the tasks
4145
run: df -h
@@ -56,12 +60,22 @@ jobs:
5660
build-depends-repos: ${{ matrix.build-depends-repos }}
5761

5862
- name: Test
63+
id: test
5964
if: ${{ steps.get-modified-packages.outputs.modified-packages != '' }}
6065
uses: autowarefoundation/autoware-github-actions/colcon-test@v1
6166
with:
6267
rosdistro: ${{ matrix.rosdistro }}
6368
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }}
6469
build-depends-repos: ${{ matrix.build-depends-repos }}
6570

71+
- name: Upload coverage to CodeCov
72+
if: ${{ steps.test.outputs.coverage-report-files != '' }}
73+
uses: codecov/codecov-action@v4
74+
with:
75+
files: ${{ steps.test.outputs.coverage-report-files }}
76+
fail_ci_if_error: false
77+
verbose: true
78+
flags: differential-arm64
79+
6680
- name: Show disk space after the tasks
6781
run: df -h

0 commit comments

Comments
 (0)