gitlab-ci: contrib android
authorJean Privat <jean@pryen.org>
Wed, 20 Feb 2019 00:42:36 +0000 (19:42 -0500)
committerJean Privat <jean@pryen.org>
Wed, 20 Feb 2019 02:08:37 +0000 (21:08 -0500)
Signed-off-by: Jean Privat <jean@pryen.org>

.gitlab-ci.yml

index a5b482a..e792b05 100644 (file)
@@ -254,6 +254,21 @@ test_contribs:
     - test ! -s status.txt # no lines, no errors
   allow_failure: true
 
+test_contribs_android:
+  stage: more_test
+  dependencies:
+    - build_tools
+  script:
+    - misc/jenkins/check_contrib.sh android
+    - grep 'error message' *.xml > status.txt || true
+    - mkdir -p apk
+    - find . -name '*.apk' -exec cp {} apk/ ";"
+    - test ! -s status.txt # no lines, no errors
+  artifacts:
+    paths:
+      - "apk"
+    when: always
+
 build_oot:
   stage: more_test
   dependencies: