aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorGravatar Jugurtha BELKALEM <jugurtha.belkalem@smile.fr>2020-02-17 21:50:30 +0100
committerGravatar Yann E. MORIN <yann.morin.1998@free.fr>2020-04-13 21:51:13 +0200
commit37b177172a72c7ab7cca451579c374a1e55cac6c (patch)
tree1096492c06ef912ac248fbe1e2e02a379ed78a7b /.gitlab-ci.yml
parent0c7935063851accf3db4c9eb2fc4f11c3da0c391 (diff)
downloadbuildroot-37b177172a72c7ab7cca451579c374a1e55cac6c.tar.gz
buildroot-37b177172a72c7ab7cca451579c374a1e55cac6c.tar.bz2
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 <jugurtha.belkalem@smile.fr> Signed-off-by: Romain Naour <romain.naour@smile.fr> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml7
1 files changed, 7 insertions, 0 deletions
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