From a00a473657632adab179a1f3e244610da88e52c1 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 17 Jul 2025 19:49:58 -0600 Subject: [PATCH] CI: Add a beagleplay board This board is interesting since it has two separate U-Boot builds. Add it to the sjg lab. Add the required support for a second build directory. Signed-off-by: Simon Glass --- .gitlab-ci.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 22a25025152..53ce63cf653 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -633,7 +633,8 @@ coreboot test.py: fi; fi - export SRC="$(pwd)" - - export OUT="${SRC}/build/${BOARD}" + - export OUT="${SRC}/build/${ROLE}" + - export OUT_EXTRA="${SRC}/build/${ROLE}_extra" - export PATH=$PATH:~/bin - export PATH=$PATH:test/hooks/bin @@ -648,7 +649,8 @@ coreboot test.py: vars="-V build-adjust ${ADJUST}"; fi - ${SRC}/test/py/test.py --role ${ROLE} --build-dir "${OUT}" - --capture=tee-sys -k "not bootstd ${TEST_PY_TEST_SPEC}" || ret=$? + --build-dir-extra ${OUT_EXTRA} --capture=tee-sys + -k "not bootstd ${TEST_PY_TEST_SPEC}" || ret=$? - U_BOOT_BOARD_IDENTITY="${ROLE}" u-boot-test-release || true - if [[ $ret -ne 0 ]]; then exit $ret; @@ -656,8 +658,8 @@ coreboot test.py: artifacts: when: always paths: - - "build/${BOARD}/test-log.html" - - "build/${BOARD}/multiplexed_log.css" + - "build/${ROLE}/test-log.html" + - "build/${ROLE}/multiplexed_log.css" expire_in: 1 week rpi3: @@ -842,3 +844,8 @@ vbe: variables: ROLE: vbe <<: *lab_dfn + +play: + variables: + ROLE: play + <<: *lab_dfn