Skip to content

Commit 78530d6

Browse files
committed
esp/ci: Saves log for 'test_x86_64-linux-gnu'
1 parent d14e2d8 commit 78530d6

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.universal-toolchain-release.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,12 +389,19 @@ test_x86_64-linux-gnu:
389389
tags: [ "amd64", "build" ]
390390
needs:
391391
- job: pack_x86_64-linux-gnu
392+
artifacts:
393+
paths:
394+
- ${BUILD_DIR}/tests.log
395+
when: always
396+
expire_in: 1 day
392397
variables:
393398
PLATFORM_NAME: "${PLATFORM_NAME_LINUX}"
394399
ARCHIVE_TOOL: "${ARCHIVE_TOOL_LINUX}"
395400
UNARCHIVE_TOOL: "${UNARCHIVE_TOOL_LINUX}"
396401
ARCHIVE_EXT: "${ARCHIVE_EXT_LINUX}"
397402
script:
403+
- BUILD_PATH=$PWD/$BUILD_DIR
404+
- mkdir -p ${BUILD_PATH}
398405
- *get_release_name
399406
- ${UNARCHIVE_TOOL} ${DIST_DIR}/${ARCHIVE_NAME}
400407
# getting testsuite
@@ -405,7 +412,7 @@ test_x86_64-linux-gnu:
405412
# qemu
406413
- ./qemu_esp32_install.sh
407414
# run testsuite for esp32
408-
- ./run_esp32_tests.sh
415+
- ./run_esp32_tests.sh 2>&1 > ${BUILD_PATH}/tests.log
409416

410417
.macos_codesign: &macos_codesign
411418
stage: sign

0 commit comments

Comments
 (0)