Skip to content

Commit

Permalink
Reduce workers for EG AOSP devel build
Browse files Browse the repository at this point in the history
Change-Id: Ibece0510d5e1ad9dd4f63a2f3ff10913739b0bf1
  • Loading branch information
oxve committed Jun 13, 2024
1 parent 34d2bf6 commit e2c32bb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/actions/build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,12 @@ runs:
# Set Ninja output format.
NINJA_STATUS="[%e sec | %f/%t %u remaining | %c/sec | j%r] "
ninja -C ${GITHUB_WORKSPACE}/out/${BUILD_PLATFORM}_${{matrix.config}} ${BUILD_TARGET}
# TODO(todo): Half workers for EG AOSP build as it runs out of memory while building.
if [[ -n ${COBALT_EVERGREEN_LOADER} && "${BUILD_PLATFORM}" == "android-arm" ]]; then
ninja -j 16 -C ${GITHUB_WORKSPACE}/out/${BUILD_PLATFORM}_${{matrix.config}} ${BUILD_TARGET}
else
ninja -C ${GITHUB_WORKSPACE}/out/${BUILD_PLATFORM}_${{matrix.config}} ${BUILD_TARGET}
fi
shell: bash
- name: Show Sccache Stats
Expand Down

0 comments on commit e2c32bb

Please sign in to comment.