diff options
author | Simon Glass <sjg@chromium.org> | 2022-08-03 12:13:09 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-09-02 12:23:14 -0400 |
commit | 0fcb66ac2a32fc09ad7d153c39b5f9f016678a68 (patch) | |
tree | ddf2400cd0e7a927694eadd8a46a22f144c20643 | |
parent | 02411b635c210c5910e6d7a47c149f3f797c5987 (diff) | |
download | u-boot-WIP/2022-09-02-assorted-improvements.zip u-boot-WIP/2022-09-02-assorted-improvements.tar.gz u-boot-WIP/2022-09-02-assorted-improvements.tar.bz2 |
ci: Add a test for a non-LTO buildWIP/2022-09-02-assorted-improvements
Check that sandbox builds and runs tests OK with LTO disabled.
Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | .azure-pipelines.yml | 4 | ||||
-rw-r--r-- | .gitlab-ci.yml | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 0fa9247..d78a170 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" diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5592862..8e94bf8 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" |