]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blobdiff - .gitlab-ci.yml.in
.gitlab-ci.yml: save rootfs as artifact for runtime tests
[coffee/buildroot.git] / .gitlab-ci.yml.in
index 3088677e67e55b16e47d251e87f77e9716605014..b8fce9ef968cf76a650a5bb1bf3bdfd89775779f 100644 (file)
@@ -47,9 +47,12 @@ check-DEVELOPERS:
             - output/build/packages-file-list.txt
 
 .runtime_test: &runtime_test
-    script: ./support/testing/run-tests -o test-output/ -d test-dl/ ${CI_BUILD_NAME}
+    # Keep build directories so the rootfs can be an artifact of the job. The
+    # runner will clean up those files for us.
+    script: ./support/testing/run-tests -o test-output/ -d test-dl/ -k ${CI_BUILD_NAME}
     artifacts:
         when: always
         expire_in: 2 weeks
         paths:
             - test-output/*.log
+            - test-output/*/images/*