Skip to content

Commit fec546b

Browse files
github-actionsgithub-actions[bot]
github-actions
authored andcommitted
chore: sync files
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 0de4a0a commit fec546b

14 files changed

+147
-19
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
name: build-and-test-differential-self-hosted
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- synchronize
8+
- labeled
9+
workflow_dispatch:
10+
11+
jobs:
12+
prevent-no-label-execution:
13+
uses: autowarefoundation/autoware-github-actions/.github/workflows/prevent-no-label-execution.yaml@v1
14+
with:
15+
label: ARM64
16+
17+
build-and-test-differential-self-hosted:
18+
needs: prevent-no-label-execution
19+
if: ${{ needs.prevent-no-label-execution.outputs.run == 'true' }}
20+
runs-on: [self-hosted, linux, ARM64]
21+
container: ${{ matrix.container }}${{ matrix.container-suffix }}
22+
strategy:
23+
fail-fast: false
24+
matrix:
25+
rosdistro:
26+
- humble
27+
container-suffix:
28+
- ""
29+
- -cuda
30+
include:
31+
- rosdistro: humble
32+
container: ghcr.io/autowarefoundation/autoware-universe:humble-latest
33+
build-depends-repos: build_depends.repos
34+
steps:
35+
- name: Check out repository
36+
uses: actions/checkout@v3
37+
with:
38+
fetch-depth: 0
39+
40+
- name: Remove exec_depend
41+
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1
42+
43+
- name: Get modified packages
44+
id: get-modified-packages
45+
uses: autowarefoundation/autoware-github-actions/get-modified-packages@v1
46+
47+
- name: Build
48+
if: ${{ steps.get-modified-packages.outputs.modified-packages != '' }}
49+
uses: autowarefoundation/autoware-github-actions/colcon-build@v1
50+
with:
51+
rosdistro: ${{ matrix.rosdistro }}
52+
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }}
53+
build-depends-repos: ${{ matrix.build-depends-repos }}
54+
55+
- name: Test
56+
if: ${{ steps.get-modified-packages.outputs.modified-packages != '' }}
57+
uses: autowarefoundation/autoware-github-actions/colcon-test@v1
58+
with:
59+
rosdistro: ${{ matrix.rosdistro }}
60+
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }}
61+
build-depends-repos: ${{ matrix.build-depends-repos }}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: build-and-test-self-hosted
2+
3+
on:
4+
schedule:
5+
- cron: 0 0 * * *
6+
workflow_dispatch:
7+
8+
jobs:
9+
build-and-test-self-hosted:
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-universe:humble-latest
23+
build-depends-repos: build_depends.repos
24+
steps:
25+
- name: Check out repository
26+
uses: actions/checkout@v3
27+
28+
- name: Remove exec_depend
29+
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1
30+
31+
- name: Get self packages
32+
id: get-self-packages
33+
uses: autowarefoundation/autoware-github-actions/get-self-packages@v1
34+
35+
- name: Build
36+
if: ${{ steps.get-self-packages.outputs.self-packages != '' }}
37+
uses: autowarefoundation/autoware-github-actions/colcon-build@v1
38+
with:
39+
rosdistro: ${{ matrix.rosdistro }}
40+
target-packages: ${{ steps.get-self-packages.outputs.self-packages }}
41+
build-depends-repos: ${{ matrix.build-depends-repos }}
42+
43+
- name: Test
44+
if: ${{ steps.get-self-packages.outputs.self-packages != '' }}
45+
uses: autowarefoundation/autoware-github-actions/colcon-test@v1
46+
with:
47+
rosdistro: ${{ matrix.rosdistro }}
48+
target-packages: ${{ steps.get-self-packages.outputs.self-packages }}
49+
build-depends-repos: ${{ matrix.build-depends-repos }}

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

+9-7
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,19 @@ jobs:
2121
- -cuda
2222
include:
2323
- rosdistro: humble
24-
container: ghcr.io/autowarefoundation/autoware-openadk:latest-prebuilt
24+
container: ghcr.io/autowarefoundation/autoware-universe:humble-latest
2525
build-depends-repos: build_depends.repos
2626
steps:
2727
- name: Check out repository
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@v3
2929

30-
- name: Show disk space before the tasks
31-
run: df -h
30+
- name: Free disk space (Ubuntu)
31+
uses: jlumbroso/free-disk-space@v1.3.1
32+
with:
33+
tool-cache: false
34+
dotnet: false
35+
swap-storage: false
36+
large-packages: false
3237

3338
- name: Remove exec_depend
3439
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1
@@ -62,6 +67,3 @@ jobs:
6267
fail_ci_if_error: false
6368
verbose: true
6469
flags: total
65-
66-
- name: Show disk space after the tasks
67-
run: df -h

.github/workflows/cancel-previous-workflows.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Cancel previous runs
11-
uses: styfle/cancel-workflow-action@0.12.0
11+
uses: styfle/cancel-workflow-action@0.12.1
1212
with:
1313
workflow_id: all
1414
all_but_latest: true

.github/workflows/check-build-depends.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
build-depends-repos: build_depends.repos
2121
steps:
2222
- name: Check out repository
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@v3
2424

2525
- name: Remove exec_depend
2626
uses: autowarefoundation/autoware-github-actions/remove-exec-depend@v1

.github/workflows/clang-tidy-pr-comments-manually.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Check out repository
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v3
1515

1616
- name: Download analysis results
1717
run: |
@@ -36,7 +36,7 @@ jobs:
3636
3737
- name: Check out PR head
3838
if: ${{ steps.check-fixes-yaml-existence.outputs.exists == 'true' }}
39-
uses: actions/checkout@v4
39+
uses: actions/checkout@v3
4040
with:
4141
repository: ${{ steps.set-variables.outputs.pr-head-repo }}
4242
ref: ${{ steps.set-variables.outputs.pr-head-ref }}

.github/workflows/clang-tidy-pr-comments.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Check out repository
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@v3
1717

1818
- name: Download analysis results
1919
run: |
@@ -37,7 +37,7 @@ jobs:
3737
3838
- name: Check out PR head
3939
if: ${{ steps.check-fixes-yaml-existence.outputs.exists == 'true' }}
40-
uses: actions/checkout@v4
40+
uses: actions/checkout@v3
4141
with:
4242
repository: ${{ steps.set-variables.outputs.pr-head-repo }}
4343
ref: ${{ steps.set-variables.outputs.pr-head-ref }}

.github/workflows/delete-closed-pr-docs.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Check out repository
13-
uses: actions/checkout@v4
13+
uses: actions/checkout@v3
1414
with:
1515
fetch-depth: 0
1616

.github/workflows/deploy-docs.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
runs-on: ubuntu-latest
3131
steps:
3232
- name: Check out repository
33-
uses: actions/checkout@v4
33+
uses: actions/checkout@v3
3434
with:
3535
fetch-depth: 0
3636
ref: ${{ github.event.pull_request.head.sha }}

.github/workflows/pre-commit.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
steps:
1111
- name: Generate token
1212
id: generate-token
13-
uses: tibdex/github-app-token@v1
13+
uses: tibdex/github-app-token@v2
1414
with:
1515
app_id: ${{ secrets.APP_ID }}
1616
private_key: ${{ secrets.PRIVATE_KEY }}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: spell-check-differential
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
spell-check-differential:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Check out repository
11+
uses: actions/checkout@v4
12+
13+
- name: Run spell-check
14+
uses: autowarefoundation/autoware-github-actions/spell-check@v1
15+
with:
16+
cspell-json-url: https://raw.githubusercontent.com/tier4/autoware-spell-check-dict/main/.cspell.json

.github/workflows/sync-files.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919
- name: Generate token
2020
id: generate-token
21-
uses: tibdex/github-app-token@v1
21+
uses: tibdex/github-app-token@v2
2222
with:
2323
app_id: ${{ secrets.APP_ID }}
2424
private_key: ${{ secrets.PRIVATE_KEY }}

.github/workflows/update-codeowners-from-packages.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919
- name: Generate token
2020
id: generate-token
21-
uses: tibdex/github-app-token@v1
21+
uses: tibdex/github-app-token@v2
2222
with:
2323
app_id: ${{ secrets.APP_ID }}
2424
private_key: ${{ secrets.PRIVATE_KEY }}

.pre-commit-config-optional.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/tcort/markdown-link-check
3-
rev: v3.11.2
3+
rev: v3.12.1
44
hooks:
55
- id: markdown-link-check
66
args: [--quiet, --config=.markdown-link-check.json]

0 commit comments

Comments
 (0)