From: Andrew Scull <ascull@google.com>
Date: Mon, 30 May 2022 10:00:07 +0000 (+0000)
Subject: CI: Azure: Build with ASAN enabled
X-Git-Tag: v2025.01-rc5-pxa1908~1353^2~15^2~6
X-Git-Url: http://git.dujemihanovic.xyz/%7B%7B%20.Permalink%20%7D%7D?a=commitdiff_plain;h=eabc4e2980b25f16e6d2805077aaa6ecbc074d63;p=u-boot.git

CI: Azure: Build with ASAN enabled

In order to prevent build regressions with ASAN, add the builds to CI.
The longer term objective will be to enabled test targets with ASAN
enabled, but there are too many at the moment.

Signed-off-by: Andrew Scull <ascull@google.com>
---

diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index ad540ea635..915d5115b1 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -473,6 +473,12 @@ stages:
           BUILDMAN: "imx8"
         keystone2_keystone3:
           BUILDMAN: "k2 k3"
+        sandbox_asan:
+          BUILDMAN: "sandbox"
+          OVERRIDE: "-a ASAN"
+        sandbox_clang_asan:
+          BUILDMAN: "sandbox"
+          OVERRIDE: "-O clang-13 -a ASAN"
         samsung_socfpga:
           BUILDMAN: "samsung socfpga"
         sun4i: