[Buildroot] [PATCH v4 9/9] gitlab.yml.in*: enable Qemu gitlab testing
Romain Naour
romain.naour at smile.fr
Sun Feb 9 18:03:27 UTC 2020
From: Jugurtha BELKALEM <jugurtha.belkalem at smile.fr>
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 at smile.fr>
Signed-off-by: Romain Naour <romain.naour at smile.fr>
---
.gitlab-ci.yml | 7 +++++++
.gitlab-ci.yml.in | 7 +++++++
2 files changed, 14 insertions(+)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a6436a8417..6341f6463a 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
--
2.24.1
More information about the buildroot
mailing list