diff options
author | Simon Glass <sjg@chromium.org> | 2022-08-03 12:13:09 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-09-02 16:20:11 -0400 |
commit | 1aa168ca8fa472620a0aa72ff10b6eb4d0414e03 (patch) | |
tree | 33ed441183e468e8f744cb14d1e2284120baff54 /.gitlab-ci.yml | |
parent | a55014d09b29d7bc2cbaeb8e41a155c9a257a183 (diff) | |
download | u-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 '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5592862f74b..8e94bf8d4e8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,6 +33,7 @@ stages: script: # If we've been asked to use clang only do one configuration. - export UBOOT_TRAVIS_BUILD_DIR=/tmp/${TEST_PY_BD} + - echo BUILD_ENV ${BUILD_ENV} - tools/buildman/buildman -o ${UBOOT_TRAVIS_BUILD_DIR} -w -E -W -e --board ${TEST_PY_BD} ${OVERRIDE} - cp ~/grub_x86.efi $UBOOT_TRAVIS_BUILD_DIR/ @@ -254,6 +255,12 @@ sandbox with clang test.py: OVERRIDE: "-O clang-13" <<: *buildman_and_testpy_dfn +sandbox without LTO test.py: + variables: + TEST_PY_BD: "sandbox" + BUILD_ENV: "NO_LTO=1" + <<: *buildman_and_testpy_dfn + sandbox_spl test.py: variables: TEST_PY_BD: "sandbox_spl" |