diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 31d3dac48d..c8b07b79f9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -54,6 +54,12 @@ check-package: tail -200 build.log exit 1 } + - | + ./support/scripts/boot-qemu-image.py "${DEFCONFIG_NAME}" > >(tee runtime-test.log) 2>&1 || { + echo 'Failed runtime test last output' + tail -200 runtime-test.log + exit 1 + } artifacts: when: always expire_in: 2 weeks @@ -64,6 +70,7 @@ check-package: - output/build/build-time.log - output/build/packages-file-list.txt - output/build/*/.config + - runtime-test.log .defconfig: extends: .defconfig_base diff --git a/.gitlab-ci.yml.in b/.gitlab-ci.yml.in index 7e6a7598ae..6b09730a65 100644 --- a/.gitlab-ci.yml.in +++ b/.gitlab-ci.yml.in @@ -54,6 +54,12 @@ check-package: tail -200 build.log exit 1 } + - | + ./support/scripts/boot-qemu-image.py "${DEFCONFIG_NAME}" > >(tee runtime-test.log) 2>&1 || { + echo 'Failed runtime test last output' + tail -200 runtime-test.log + exit 1 + } artifacts: when: always expire_in: 2 weeks @@ -64,6 +70,7 @@ check-package: - output/build/build-time.log - output/build/packages-file-list.txt - output/build/*/.config + - runtime-test.log .defconfig: extends: .defconfig_base