diff options
author | Tom Hughes <tomhughes@chromium.org> | 2021-10-13 23:24:09 +0000 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-04-12 23:12:17 +0000 |
commit | eca67f364e6c7da698c3164f53c8e12a1e5c9080 (patch) | |
tree | c30e7b3c577d96753083a2d0f1d8cf2107a3b305 /firmware_builder.py | |
parent | 205bf7ab0a862acff1ba964483c651b86e8406e5 (diff) | |
download | chrome-ec-eca67f364e6c7da698c3164f53c8e12a1e5c9080.tar.gz |
firmware_builder: Call build_with_clang.py script
The util/build_with_clang.py script helps us validate that boards that
build successfully with clang continue to do so. As compilation errors
are fixed for boards, they can be added to the list.
The script is called from firmware_builder.py as part of the CQ process.
BRANCH=none
BUG=b:172020503
TEST=CQ passes
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Change-Id: I8d9384e04dbfc25191d5ebf93425e6d178631168
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3221785
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'firmware_builder.py')
-rwxr-xr-x | firmware_builder.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware_builder.py b/firmware_builder.py index 6229e87539..625cb5166a 100755 --- a/firmware_builder.py +++ b/firmware_builder.py @@ -78,6 +78,14 @@ def build(opts): with open(opts.metrics, 'w') as f: f.write(json_format.MessageToJson(metric_list)) + # Ensure that there are no regressions for boards that build successfully + # with clang: b/172020503. + cmd = ['./util/build_with_clang.py'] + print(f'# Running {" ".join(cmd)}.') + subprocess.run(cmd, + cwd=os.path.dirname(__file__), + check=True) + UNITS = { 'B': 1, |