shithub: dav1d

Download patch

ref: 7e8dee336468c8fe1358674f457cea017c0b940c
parent: dacf510e5499d5c6329349dbe7e8c2850e46f866
author: Hugo Beauzée-Luyssen <[email protected]>
date: Mon Mar 23 07:54:52 EDT 2020

ci: Add android jobs with artifacts on tags

--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -211,21 +211,44 @@
                       -Ddefault_library=both
         - ninja -C build
         - ninja -C build install
-    artifacts:
-        name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
-        paths:
-            - build/dav1d_install/
-        expire_in: 1 week
 
 build-android-armv7:
     extends: .build-android-common
     variables:
         CROSSFILE: package/crossfiles/arm-android.meson
+    except:
+        - tags
 
 build-android-aarch64:
     extends: .build-android-common
     variables:
         CROSSFILE: package/crossfiles/aarch64-android.meson
+    except:
+        - tags
+
+build-android-armv7-release:
+    extends: build-android-armv7
+    except:
+    only:
+        refs:
+            - tags@videolan/dav1d
+    artifacts:
+        name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
+        paths:
+            - build/dav1d_install/
+        expire_in: 1 week
+
+build-android-aarch64-release:
+    extends: build-android-aarch64
+    except:
+    only:
+        refs:
+            - tags@videolan/dav1d
+    artifacts:
+        name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
+        paths:
+            - build/dav1d_install/
+        expire_in: 1 week
 
 build-debian-aarch64:
     extends: .debian-aarch64-common