Skip to content

Commit 769673c

Browse files
authored
ci: use Code Build for build-and-test-differentianl-cuda (#10198)
Signed-off-by: Ryohsuke Mitsudome <ryohsuke.mitsudome@tier4.jp>
1 parent 1758df5 commit 769673c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

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

+5-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ on:
2222
required: false
2323
default: ""
2424
type: string
25+
build-pre-command:
26+
required: false
27+
default: ""
28+
type: string
2529
secrets:
2630
codecov-token:
2731
required: true
@@ -113,7 +117,7 @@ jobs:
113117
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }}
114118
build-depends-repos: build_depends.repos
115119
cache-key-element: ${{ env.BUILD_TYPE_CUDA_STATE }}
116-
120+
build-pre-command: ${{ inputs.build-pre-command }}
117121
- name: Show ccache stats after build
118122
run: du -sh ${CCACHE_DIR} && ccache -s
119123
shell: bash

.github/workflows/build-test-tidy-pr.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ jobs:
5858
container: ghcr.io/autowarefoundation/autoware:universe-devel
5959
container-suffix: -cuda
6060
run-condition: ${{ needs.check-if-cuda-job-is-needed.outputs.cuda_job_is_needed == 'true' }}
61+
runner: codebuild-autoware-us-east-1-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-large
62+
build-pre-command: taskset --cpu-list 0-6
6163
secrets:
6264
codecov-token: ${{ secrets.CODECOV_TOKEN }}
6365

0 commit comments

Comments
 (0)