Skip to content

Commit

Permalink
esp/ci: Check for OOM failures after build
Browse files Browse the repository at this point in the history
  • Loading branch information
gerekon committed Dec 1, 2022
1 parent d4f9df6 commit 2378612
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .universal-toolchain-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@
expire_in: 1 day
variables:
BUILD_TOOLCHAIN_CMD_EXTRA_ARGS: ""
after_script:
# help to identify that build failed due to OOM
- >
if [ $CI_JOB_STATUS == 'failed' ]; then
[ ! -f "${BUILD_DIR}/build.log" ] || grep -i "internal compiler error\|Killed" ${BUILD_DIR}/build.log || true
[ ! -f "${BUILD_DIR}/tests.log" ] || grep -i "internal compiler error\|Killed" ${BUILD_DIR}/tests.log || true
[ ! -f "${BUILD_DIR}/lld-tests.log" ] || grep -i "internal compiler error\|Killed" ${BUILD_DIR}/lld-tests.log || true
fi
script:
- *get_release_name
- mkdir ${DOWNLOADS_DIR}
Expand Down

0 comments on commit 2378612

Please sign in to comment.