From 9bd0f77c255edcff129ff08d190a5fdd8c45b6dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Fatih=20C=C4=B1r=C4=B1t?= Date: Tue, 29 Oct 2024 09:09:02 +0300 Subject: [PATCH] ci(build-and-test): reduce cores used by colcon build (#9166) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: M. Fatih Cırıt Co-authored-by: M. Fatih Cırıt --- .github/workflows/build-and-test-differential-arm64.yaml | 2 +- .github/workflows/build-and-test-differential.yaml | 2 +- .github/workflows/build-and-test.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-test-differential-arm64.yaml b/.github/workflows/build-and-test-differential-arm64.yaml index 9e121aa028867..40d7a8846d13b 100644 --- a/.github/workflows/build-and-test-differential-arm64.yaml +++ b/.github/workflows/build-and-test-differential-arm64.yaml @@ -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 diff --git a/.github/workflows/build-and-test-differential.yaml b/.github/workflows/build-and-test-differential.yaml index cda1666603926..30619f7ef5aff 100644 --- a/.github/workflows/build-and-test-differential.yaml +++ b/.github/workflows/build-and-test-differential.yaml @@ -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: "" diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index 0f239cd328591..a79bb60fa2929 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -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