[gxml/gxml-0.20] CI: Add on failure log files



commit be737affcc52e69ccf629a19c6ed81bc4cbbac32
Author: Daniel Espinosa <esodan gmail com>
Date:   Wed Feb 9 10:13:03 2022 -0600

    CI: Add on failure log files

 .gitlab-ci.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index da90126..5a1d8f4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -27,7 +27,12 @@ build:
   - cd _build
   - ninja
   - meson test
-  - ninja install
+  - ninja installartifacts:
+    when: on_failure
+    paths:
+    - _build/meson-logs/testlog.txt
+    - _build/meson-logs/meson-log.txt
+    expire_in: 1 week
 
 pages:
   stage: deploy


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]