|
14 | 14 |
|
15 | 15 | docker-build-and-push:
|
16 | 16 | needs: load-env
|
17 |
| - runs-on: [self-hosted, linux, ARM64] |
| 17 | + runs-on: ubuntu-22.04-arm |
18 | 18 | steps:
|
19 | 19 | # https://github.com/actions/checkout/issues/211
|
20 | 20 | - name: Change permission of workspace
|
|
48 | 48 | (github.event_name == 'push' && github.ref_type == 'tag') }}
|
49 | 49 | uses: ./.github/actions/free-disk-space
|
50 | 50 |
|
| 51 | + - name: Set Swap Space |
| 52 | + uses: pierotofy/set-swap-space@0404882bc4666c0ff2f6fd8b3d32af69a730183c |
| 53 | + with: |
| 54 | + swap-size-gb: 16 |
| 55 | + |
51 | 56 | - name: Build 'Autoware' without CUDA
|
52 | 57 | if: ${{ steps.changed-files.outputs.any_changed == 'true' ||
|
53 | 58 | github.event_name == 'workflow_dispatch' ||
|
|
74 | 79 |
|
75 | 80 | docker-build-and-push-cuda:
|
76 | 81 | needs: [load-env, docker-build-and-push]
|
77 |
| - runs-on: [self-hosted, linux, ARM64] |
| 82 | + runs-on: ubuntu-22.04-arm |
78 | 83 | steps:
|
79 | 84 | - name: Check out repository
|
80 | 85 | uses: actions/checkout@v4
|
@@ -103,6 +108,11 @@ jobs:
|
103 | 108 | (github.event_name == 'push' && github.ref_type == 'tag') }}
|
104 | 109 | uses: ./.github/actions/free-disk-space
|
105 | 110 |
|
| 111 | + - name: Set Swap Space |
| 112 | + uses: pierotofy/set-swap-space@0404882bc4666c0ff2f6fd8b3d32af69a730183c |
| 113 | + with: |
| 114 | + swap-size-gb: 16 |
| 115 | + |
106 | 116 | - name: Build 'Autoware' with CUDA
|
107 | 117 | if: ${{ steps.changed-files.outputs.any_changed == 'true' ||
|
108 | 118 | github.event_name == 'workflow_dispatch' ||
|
|
0 commit comments