summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Bettis <jbettis@google.com>2022-09-09 09:36:21 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-09-09 17:03:38 +0000
commitcea5f5f4ae08d1b200add3943ec76914d9b3a727 (patch)
treee8b22abb5377168ea5022c4517e33fc1220036f8
parent56f8b7671899b8fa6e2c3ca09840cf8dad689b80 (diff)
downloadchrome-ec-cea5f5f4ae08d1b200add3943ec76914d9b3a727.tar.gz
gitlab: Allow the ram/rom reports to fail
pyelftools isn't working with the new GCC in SDK 0.15, so just allow it to fail, since it is informational only and we still have reports working in the CQ. BRANCH=None BUG=None TEST=None Signed-off-by: Jeremy Bettis <jbettis@google.com> Change-Id: I37e1e893d007e705b0d8dfda85c09d1978cd5dc9 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3886889 Commit-Queue: Tristan Honscheid <honscheid@google.com> Tested-by: Jeremy Bettis <jbettis@chromium.org> Auto-Submit: Jeremy Bettis <jbettis@chromium.org> Reviewed-by: Tristan Honscheid <honscheid@google.com> Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
-rw-r--r--.gitlab-ci.yml16
1 files changed, 11 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e7eed9da49..eeb832c8e6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -113,11 +113,17 @@ seed_cache:
-B "${BUILD_DIR}" -t ${TOOLCHAIN:-zephyr}
"${PROJECT}"
- for b in "${BUILD_DIR}/${PROJECT}"/build-* ; do
- bdir=$(basename ${b}) ;
- ninja -C ${b} ram_report >"${BUILD_DIR}/${PROJECT}/output/${bdir}_ram_report.txt" ;
- cp ${b}/ram.json "${BUILD_DIR}/${PROJECT}/output/${bdir}_ram.json" ;
- ninja -C ${b} rom_report >"${BUILD_DIR}/${PROJECT}/output/${bdir}_rom_report.txt" ;
- cp ${b}/rom.json "${BUILD_DIR}/${PROJECT}/output/${bdir}_rom.json" ;
+ bdir=$(basename ${b}) ;
+ if ninja -C ${b} ram_report >"${BUILD_DIR}/${PROJECT}/output/${bdir}_ram_report.txt" ; then
+ cp ${b}/ram.json "${BUILD_DIR}/${PROJECT}/output/${bdir}_ram.json" ;
+ else
+ echo "Ram report failed" ;
+ fi ;
+ if ninja -C ${b} rom_report >"${BUILD_DIR}/${PROJECT}/output/${bdir}_rom_report.txt" ; then
+ cp ${b}/rom.json "${BUILD_DIR}/${PROJECT}/output/${bdir}_rom.json" ;
+ else
+ echo "Rom report failed" ;
+ fi ;
done
- ls "${BUILD_DIR}/${PROJECT}" "${BUILD_DIR}/${PROJECT}/output"
artifacts: