Skip to content

Commit

Permalink
ci(build-and-test): reduce cores used by colcon build (autowarefounda…
Browse files Browse the repository at this point in the history
…tion#9166)

Signed-off-by: M. Fatih Cırıt <[email protected]>
Co-authored-by: M. Fatih Cırıt <[email protected]>
  • Loading branch information
xmfcx and M. Fatih Cırıt authored Oct 29, 2024
1 parent e382a07 commit 9bd0f77
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test-differential-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
target-packages: ${{ steps.get-modified-packages.outputs.modified-packages }}
build-depends-repos: ${{ matrix.build-depends-repos }}
cache-key-element: ${{ env.BUILD_TYPE_CUDA_STATE }}
build-pre-command: taskset --cpu-list 0-6
build-pre-command: taskset --cpu-list 0-5

- name: Test
id: test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test-differential.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
build-depends-repos: build_depends.repos
- container-suffix: -cuda
runner: codebuild-autoware-us-east-1-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-large
build-pre-command: taskset --cpu-list 0-6
build-pre-command: taskset --cpu-list 0-5
- container-suffix: ""
runner: ubuntu-latest
build-pre-command: ""
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
target-packages: ${{ steps.get-self-packages.outputs.self-packages }}
build-depends-repos: ${{ matrix.build-depends-repos }}
cache-key-element: ${{ env.BUILD_TYPE_CUDA_STATE }}
build-pre-command: taskset --cpu-list 0-6
build-pre-command: taskset --cpu-list 0-5

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

0 comments on commit 9bd0f77

Please sign in to comment.