summaryrefslogtreecommitdiff
path: root/.azure-pipelines.yml
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-08-03 12:13:09 -0600
committerTom Rini <trini@konsulko.com>2022-09-02 16:20:11 -0400
commit1aa168ca8fa472620a0aa72ff10b6eb4d0414e03 (patch)
tree33ed441183e468e8f744cb14d1e2284120baff54 /.azure-pipelines.yml
parenta55014d09b29d7bc2cbaeb8e41a155c9a257a183 (diff)
downloadu-boot-1aa168ca8fa472620a0aa72ff10b6eb4d0414e03.tar.gz
ci: Add a test for a non-LTO build
Check that sandbox builds and runs tests OK with LTO disabled. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to '.azure-pipelines.yml')
-rw-r--r--.azure-pipelines.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index 0fa92479b4..d78a170d0c 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -243,6 +243,9 @@ stages:
sandbox_clang:
TEST_PY_BD: "sandbox"
OVERRIDE: "-O clang-13"
+ sandbox_nolto:
+ TEST_PY_BD: "sandbox"
+ BUILD_ENV: "NO_LTO=1"
sandbox_spl:
TEST_PY_BD: "sandbox_spl"
TEST_PY_TEST_SPEC: "test_ofplatdata or test_handoff or test_spl"
@@ -354,6 +357,7 @@ stages:
export TEST_PY_ID="${TEST_PY_ID}"
export TEST_PY_TEST_SPEC="${TEST_PY_TEST_SPEC}"
export OVERRIDE="${OVERRIDE}"
+ export BUILD_ENV="${BUILD_ENV}"
EOF
cat << "EOF" >> test.sh
# the below corresponds to .gitlab-ci.yml "before_script"