Skip to content

Commit 0067852

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 fae0f78 commit 0067852

8 files changed

+138
-10
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

+8-6
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
2828
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/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)