[Android] CI: mark libvlcjni as safe for vlc 3 builds

Nicolas Pomepuy git at videolan.org
Fri Jul 7 06:21:54 UTC 2023


vlc-android | branch: refs/tags/libvlc-4.0.0-eap12 | Nicolas Pomepuy <nicolas at videolabs.io> | Fri Jul  7 08:19:52 2023 +0200| [986700569d1b917a33ff4e55774c51025f0143e2] | committer: Nicolas Pomepuy

CI: mark libvlcjni as safe for vlc 3 builds

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

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

diff --git a/buildsystem/gitlab/.gitlab-ci.yml b/buildsystem/gitlab/.gitlab-ci.yml
index ecef325f67..1d29daa13d 100644
--- a/buildsystem/gitlab/.gitlab-ci.yml
+++ b/buildsystem/gitlab/.gitlab-ci.yml
@@ -338,7 +338,8 @@ publish_libs:
       - job: "build-libs-x86_64"
     script:
         - mkdir -p $M2_REPO
-        - ./buildsystem/compile.sh --init -b
+        - 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
     artifacts:



More information about the Android mailing list