[Android] Allow releasing the Remote Access as a standalone aar

Nicolas Pomepuy git at videolan.org
Thu Dec 5 09:55:17 UTC 2024


vlc-android | branch: refs/tags/remoteaccess-0.1.0-TEST | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Dec  5 10:53:44 2024 +0100| [ab70a90f63e119dfda07462a37853d2d5b3fcbc3] | committer: Nicolas Pomepuy

Allow releasing the Remote Access as a standalone aar

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

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

diff --git a/buildsystem/gitlab/.gitlab-ci.yml b/buildsystem/gitlab/.gitlab-ci.yml
index cf8f082cf2..0185f4f282 100644
--- a/buildsystem/gitlab/.gitlab-ci.yml
+++ b/buildsystem/gitlab/.gitlab-ci.yml
@@ -39,6 +39,7 @@ stages:
         - buildsystem/compile-remoteaccess.sh
     - if: '$CI_COMMIT_TAG =~ /^libvlc-3.*$/'
     - if: '$CI_PIPELINE_SOURCE == "schedule"'
+    - if: '$CI_COMMIT_TAG =~ /^remoteaccess-.*$/'
 
 # This is generating the node_modules folder with the required dependencies
 # If/When we want to make it fully offline:
@@ -458,6 +459,23 @@ publish_libs:
             - $M2_REPO
         expire_in: 2 weeks
 
+publish_remote_access_lib:
+    extends: .build-libs-base
+    rules:
+      - if: '$CI_COMMIT_TAG =~ /^remoteaccess-.*$/'
+    stage: package
+    needs:
+      - job: "webserver-build"
+    script:
+        - mkdir -p $M2_REPO
+        - ./buildsystem/compile.sh --init -b
+        - GRADLE_ABI=ALL RELEASE_SIGNING_ENABLED=false ./gradlew -Dmaven.repo.local=$M2_REPO -p application/webserver publishToMavenLocal
+    artifacts:
+        name: "${CI_COMMIT_TAG}"
+        paths:
+            - $M2_REPO
+        expire_in: 2 weeks
+
 publish_libs-v4:
     extends: .build-libs-base-v4
     stage: package



More information about the Android mailing list