[Android] Add the remote access artifact to the lib publishing pipeline
Nicolas Pomepuy
git at videolan.org
Thu Nov 28 12:34:23 UTC 2024
vlc-android | branch: refs/tags/libvlc-3.6.0-eap13-TEST | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Nov 28 12:46:42 2024 +0100| [f57901076c137580193afedaa8098ba7fa5311fb] | committer: Nicolas Pomepuy
Add the remote access artifact to the lib publishing pipeline
> https://code.videolan.org/videolan/vlc-android/commit/f57901076c137580193afedaa8098ba7fa5311fb
---
buildsystem/gitlab/.gitlab-ci.yml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/buildsystem/gitlab/.gitlab-ci.yml b/buildsystem/gitlab/.gitlab-ci.yml
index 4744ceec63..b8d26cf278 100644
--- a/buildsystem/gitlab/.gitlab-ci.yml
+++ b/buildsystem/gitlab/.gitlab-ci.yml
@@ -358,6 +358,8 @@ nightly-x86_64-v4:
name: $VLC_ANDROID_IMAGE_30
rules:
- if: '$CI_COMMIT_TAG =~ /^libvlc-3.*$/'
+ needs:
+ - job: "webserver-build"
stage: build
script:
- mkdir -p $M2_REPO
@@ -443,12 +445,14 @@ publish_libs:
- job: "build-libs-armv7"
- job: "build-libs-x86"
- job: "build-libs-x86_64"
+ - job: "webserver-build"
script:
- mkdir -p $M2_REPO
- git config --global --add safe.directory $CI_PROJECT_DIR/libvlcjni
- ./buildsystem/compile.sh --init -b
- GRADLE_ABI=ALL RELEASE_SIGNING_ENABLED=false ./gradlew -Dmaven.repo.local=$M2_REPO -p libvlcjni publishToMavenLocal
- GRADLE_ABI=ALL RELEASE_SIGNING_ENABLED=false ./gradlew -Dmaven.repo.local=$M2_REPO -p medialibrary publishToMavenLocal
+ - GRADLE_ABI=ALL RELEASE_SIGNING_ENABLED=false ./gradlew -Dmaven.repo.local=$M2_REPO -p :application:webserver publishToMavenLocal
artifacts:
name: "${CI_COMMIT_TAG}.dbg"
paths:
@@ -481,8 +485,6 @@ release:
stage: build
rules:
- if: '$CI_COMMIT_TAG =~ /^(\d+\.)?(\d+\.)?(\*|\d+)/'
- needs:
- - job: "webserver-build"
script:
- ./buildsystem/compile.sh --init
- ./gradlew assembleRelease
More information about the Android
mailing list