[Android] Add CI jobs for VLC4 weeklies

Nicolas Pomepuy git at videolan.org
Thu Jan 5 15:07:35 UTC 2023


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Jan  5 14:00:45 2023 +0100| [d4949272b729f1e0be091493e1f9b830a0448ef0] | committer: Nicolas Pomepuy

Add CI jobs for VLC4 weeklies

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

 buildsystem/gitlab/.gitlab-ci.yml | 57 ++++++++++++++++++++++++++++++++++++---
 1 file changed, 53 insertions(+), 4 deletions(-)

diff --git a/buildsystem/gitlab/.gitlab-ci.yml b/buildsystem/gitlab/.gitlab-ci.yml
index 7308fa9c1a..cb137295d3 100644
--- a/buildsystem/gitlab/.gitlab-ci.yml
+++ b/buildsystem/gitlab/.gitlab-ci.yml
@@ -150,7 +150,7 @@ build-ml-x86_64-v4:
 nightly-arm64:
     extends: .build-all-base
     rules:
-        - if: '$CI_PIPELINE_SOURCE == "schedule"'
+        - if: '$CI_PIPELINE_SOURCE == "schedule" && $VLC4 != "true"'
     variables:
         ARCH: arm64
     artifacts:
@@ -161,7 +161,7 @@ nightly-arm64:
 nightly-armv7:
     extends: .build-all-base
     rules:
-        - if: '$CI_PIPELINE_SOURCE == "schedule"'
+        - if: '$CI_PIPELINE_SOURCE == "schedule" && $VLC4 != "true"'
     variables:
         ARCH: arm
     artifacts:
@@ -172,7 +172,7 @@ nightly-armv7:
 nightly-x86:
     extends: .build-all-base
     rules:
-        - if: '$CI_PIPELINE_SOURCE == "schedule"'
+        - if: '$CI_PIPELINE_SOURCE == "schedule" && $VLC4 != "true"'
     variables:
         ARCH: x86
     artifacts:
@@ -183,7 +183,7 @@ nightly-x86:
 nightly-x86_64:
     extends: .build-all-base
     rules:
-        - if: '$CI_PIPELINE_SOURCE == "schedule"'
+        - if: '$CI_PIPELINE_SOURCE == "schedule" && $VLC4 != "true"'
     variables:
         ARCH: x86_64
     artifacts:
@@ -191,6 +191,55 @@ nightly-x86_64:
             - application/app/build/outputs/apk/dev/VLC-Android-*.apk
         expire_in: 2 weeks
 
+# Weekly builds: build native & app code, and ship the APK as artifact for vlc4
+nightly-arm64-v4:
+    extends: .build-all-base
+    rules:
+        - if: '$CI_PIPELINE_SOURCE == "schedule" && $VLC4 == "true"'
+    variables:
+        ARCH: arm64
+        EXTRA_BUILD_PARAM: -vlc4
+    artifacts:
+        paths:
+            - application/app/build/outputs/apk/dev/VLC-Android-*.apk
+        expire_in: 2 weeks
+
+nightly-armv7-v4:
+    extends: .build-all-base
+    rules:
+        - if: '$CI_PIPELINE_SOURCE == "schedule" && $VLC4 == "true"'
+    variables:
+        ARCH: arm
+        EXTRA_BUILD_PARAM: -vlc4
+    artifacts:
+        paths:
+            - application/app/build/outputs/apk/dev/VLC-Android-*.apk
+        expire_in: 2 weeks
+
+nightly-x86-v4:
+    extends: .build-all-base
+    rules:
+        - if: '$CI_PIPELINE_SOURCE == "schedule" && $VLC4 == "true"'
+    variables:
+        ARCH: x86
+        EXTRA_BUILD_PARAM: -vlc4
+    artifacts:
+        paths:
+            - application/app/build/outputs/apk/dev/VLC-Android-*.apk
+        expire_in: 2 weeks
+
+nightly-x86_64-v4:
+    extends: .build-all-base
+    rules:
+        - if: '$CI_PIPELINE_SOURCE == "schedule" && $VLC4 == "true"'
+    variables:
+        ARCH: x86_64
+        EXTRA_BUILD_PARAM: -vlc4
+    artifacts:
+        paths:
+            - application/app/build/outputs/apk/dev/VLC-Android-*.apk
+        expire_in: 2 weeks
+
 .build-libs-base:
     rules:
       - if: '$CI_COMMIT_TAG =~ /^libvlc-3.*$/'



More information about the Android mailing list