Skip to content

Commit 30f9298

Browse files
youtalkmitsudome-r
andauthored
build(*-arm64.yaml): run on ubuntu-22.04-arm (autowarefoundation#5688)
* push to ghcr.io Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp> * use ubuntu-22.o4-arm Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp> * ci: allocate larger swap size for arm build Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp> --------- Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp> Signed-off-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp> Co-authored-by: mitsudome-r <ryohsuke.mitsudome@tier4.jp>
1 parent 70e5378 commit 30f9298

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

.github/workflows/docker-build-and-push-arm64.yaml

+12-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
docker-build-and-push:
1616
needs: load-env
17-
runs-on: [self-hosted, linux, ARM64]
17+
runs-on: ubuntu-22.04-arm
1818
steps:
1919
# https://github.com/actions/checkout/issues/211
2020
- name: Change permission of workspace
@@ -48,6 +48,11 @@ jobs:
4848
(github.event_name == 'push' && github.ref_type == 'tag') }}
4949
uses: ./.github/actions/free-disk-space
5050

51+
- name: Set Swap Space
52+
uses: pierotofy/set-swap-space@0404882bc4666c0ff2f6fd8b3d32af69a730183c
53+
with:
54+
swap-size-gb: 16
55+
5156
- name: Build 'Autoware' without CUDA
5257
if: ${{ steps.changed-files.outputs.any_changed == 'true' ||
5358
github.event_name == 'workflow_dispatch' ||
@@ -74,7 +79,7 @@ jobs:
7479
7580
docker-build-and-push-cuda:
7681
needs: [load-env, docker-build-and-push]
77-
runs-on: [self-hosted, linux, ARM64]
82+
runs-on: ubuntu-22.04-arm
7883
steps:
7984
- name: Check out repository
8085
uses: actions/checkout@v4
@@ -103,6 +108,11 @@ jobs:
103108
(github.event_name == 'push' && github.ref_type == 'tag') }}
104109
uses: ./.github/actions/free-disk-space
105110

111+
- name: Set Swap Space
112+
uses: pierotofy/set-swap-space@0404882bc4666c0ff2f6fd8b3d32af69a730183c
113+
with:
114+
swap-size-gb: 16
115+
106116
- name: Build 'Autoware' with CUDA
107117
if: ${{ steps.changed-files.outputs.any_changed == 'true' ||
108118
github.event_name == 'workflow_dispatch' ||

.github/workflows/health-check-arm64.yaml

+6-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
docker-build:
1313
needs: load-env
14-
runs-on: [self-hosted, linux, ARM64]
14+
runs-on: ubuntu-22.04-arm
1515
steps:
1616
# https://github.com/actions/checkout/issues/211
1717
- name: Change permission of workspace
@@ -29,6 +29,11 @@ jobs:
2929
- name: Free disk space
3030
uses: ./.github/actions/free-disk-space
3131

32+
- name: Set Swap Space
33+
uses: pierotofy/set-swap-space@0404882bc4666c0ff2f6fd8b3d32af69a730183c
34+
with:
35+
swap-size-gb: 16
36+
3237
- name: Build 'Autoware'
3338
uses: ./.github/actions/docker-build
3439
with:

0 commit comments

Comments
 (0)