From: Jugurtha BELKALEM Date: Mon, 17 Feb 2020 20:50:30 +0000 (+0100) Subject: gitlab.yml.in*: enable Qemu gitlab testing X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=37b177172a72c7ab7cca451579c374a1e55cac6c;p=buildroot.git gitlab.yml.in*: enable Qemu gitlab testing Used to launch qemu tests for various qemu architectures. Neverthless to say that this file skips any other job different from qemu (only qemu configurations are runtime tested). Add the log generated by Qemu to the build artefacts. Signed-off-by: Jugurtha BELKALEM Signed-off-by: Romain Naour Signed-off-by: Yann E. MORIN --- 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