Skip to content

Commit 9bd0f77

Browse files
xmfcxM. Fatih Cırıt
and
M. Fatih Cırıt
authored
ci(build-and-test): reduce cores used by colcon build (#9166)
Signed-off-by: M. Fatih Cırıt <mfcirit@gmail.com> Co-authored-by: M. Fatih Cırıt <mfc@leodrive.ai>
1 parent e382a07 commit 9bd0f77

3 files changed

+3
-3
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }}
7777
build-depends-repos: ${{ matrix.build-depends-repos }}
7878
cache-key-element: ${{ env.BUILD_TYPE_CUDA_STATE }}
79-
build-pre-command: taskset --cpu-list 0-6
79+
build-pre-command: taskset --cpu-list 0-5
8080

8181
- name: Test
8282
id: test

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
build-depends-repos: build_depends.repos
4747
- container-suffix: -cuda
4848
runner: codebuild-autoware-us-east-1-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-large
49-
build-pre-command: taskset --cpu-list 0-6
49+
build-pre-command: taskset --cpu-list 0-5
5050
- container-suffix: ""
5151
runner: ubuntu-latest
5252
build-pre-command: ""

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
target-packages: ${{ steps.get-self-packages.outputs.self-packages }}
9494
build-depends-repos: ${{ matrix.build-depends-repos }}
9595
cache-key-element: ${{ env.BUILD_TYPE_CUDA_STATE }}
96-
build-pre-command: taskset --cpu-list 0-6
96+
build-pre-command: taskset --cpu-list 0-5
9797

9898
- name: Show ccache stats after build
9999
run: du -sh ${CCACHE_DIR} && ccache -s

0 commit comments

Comments
 (0)