Skip to content
Snippets Groups Projects
Commit 4bc327b3 authored by Nicolas Pomepuy's avatar Nicolas Pomepuy
Browse files

Add the remote access artifact to the lib publishing pipeline

parent e8e22864
No related branches found
No related tags found
1 merge request!2042Draft: Serve the remote access as an aar library
Pipeline #539208 failed with stage
in 3 minutes and 33 seconds
......@@ -37,7 +37,7 @@ stages:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
changes:
- buildsystem/compile-remoteaccess.sh
- if: '$CI_COMMIT_TAG =~ /^(\d+\.)?(\d+\.)?(\*|\d+)/'
- if: '$CI_COMMIT_TAG =~ /^libvlc-3.*$/'
- if: '$CI_PIPELINE_SOURCE == "schedule"'
# This is generating the node_modules folder with the required dependencies
......@@ -443,12 +443,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 +483,6 @@ release:
stage: build
rules:
- if: '$CI_COMMIT_TAG =~ /^(\d+\.)?(\d+\.)?(\*|\d+)/'
needs:
- job: "webserver-build"
script:
- ./buildsystem/compile.sh --init
- ./gradlew assembleRelease
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment