[Android] CI jobs for libs and app releases

Geoffrey Métais git at videolan.org
Thu Feb 27 11:48:43 CET 2020


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Feb 26 17:51:47 2020 +0100| [831a9570274cd439ebfc4b461d43f51cc82beefd] | committer: Geoffrey Métais

CI jobs for libs and app releases

> https://code.videolan.org/videolan/vlc-android/commit/831a9570274cd439ebfc4b461d43f51cc82beefd
---

 buildsystem/gitlab/.gitlab-ci.yml | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/buildsystem/gitlab/.gitlab-ci.yml b/buildsystem/gitlab/.gitlab-ci.yml
index 89aa1a02c..fcdc2c99f 100644
--- a/buildsystem/gitlab/.gitlab-ci.yml
+++ b/buildsystem/gitlab/.gitlab-ci.yml
@@ -159,3 +159,37 @@ nightly-x86_64:
             - application/app/build/outputs/apk/dev/VLC-Android-*.apk
         expire_in: 2 weeks
 
+publish_libs:
+    extends: .build-all-base
+    only:
+        - /^libvlc-.*$/
+    except:
+        - branches
+    variables:
+        ARCH: all
+    script:
+        - ./buildsystem/compile.sh -l -a ${ARCH} release
+        - GRADLE_ABI=ALL ./gradlew -p libvlc bintrayupload
+        - ./buildsystem/compile.sh -ml -a ${ARCH} release
+        - GRADLE_ABI=ALL ./gradlew -p medialibrary bintrayupload
+    artifacts:
+        name: "${CI_COMMIT_TAG}.dbg"
+        paths:
+            - .dbg/
+        expire_in: 2 weeks
+
+release:
+    extends: .build-all-base
+    only:
+        - /^(\d+\.)?(\d+\.)?(\*|\d+)$/
+    except:
+        - branches
+    script:
+        - ./gradlew assembleRelease
+    artifacts:
+        name: "${CI_COMMIT_TAG}"
+        paths:
+            - application/app/build/outputs/apk/release/VLC-Android-*.apk
+#            - application/app/build/outputs/mapping/release/mapping.txt
+        expire_in: 2 weeks
+



More information about the Android mailing list