ソースを参照

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>
Jugurtha BELKALEM 4 年 前
コミット
37b177172a
2 ファイル変更14 行追加0 行削除
  1. 7 0
      .gitlab-ci.yml
  2. 7 0
      .gitlab-ci.yml.in

+ 7 - 0
.gitlab-ci.yml

@@ -54,6 +54,12 @@ check-package:
                 tail -200 build.log
                 tail -200 build.log
                 exit 1
                 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:
     artifacts:
         when: always
         when: always
         expire_in: 2 weeks
         expire_in: 2 weeks
@@ -64,6 +70,7 @@ check-package:
             - output/build/build-time.log
             - output/build/build-time.log
             - output/build/packages-file-list.txt
             - output/build/packages-file-list.txt
             - output/build/*/.config
             - output/build/*/.config
+            - runtime-test.log
 
 
 .defconfig:
 .defconfig:
     extends: .defconfig_base
     extends: .defconfig_base

+ 7 - 0
.gitlab-ci.yml.in

@@ -54,6 +54,12 @@ check-package:
                 tail -200 build.log
                 tail -200 build.log
                 exit 1
                 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:
     artifacts:
         when: always
         when: always
         expire_in: 2 weeks
         expire_in: 2 weeks
@@ -64,6 +70,7 @@ check-package:
             - output/build/build-time.log
             - output/build/build-time.log
             - output/build/packages-file-list.txt
             - output/build/packages-file-list.txt
             - output/build/*/.config
             - output/build/*/.config
+            - runtime-test.log
 
 
 .defconfig:
 .defconfig:
     extends: .defconfig_base
     extends: .defconfig_base