ref: dacf510e5499d5c6329349dbe7e8c2850e46f866
parent: fb1509e6123502390e3236e95be3ad9070f0d535
author: Hugo Beauzée-Luyssen <[email protected]>
date: Fri Mar 20 14:22:01 EDT 2020
ci: Add android configs For armv7 & aarch64
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -45,6 +45,13 @@
- docker
- amd64
+.android-common:
+ image: registry.videolan.org/vlc-debian-android:20200323093226
+ stage: build
+ tags:
+ - docker
+ - amd64
+
style-check:
extends: .debian-amd64-common
stage: style
@@ -192,6 +199,33 @@
paths:
- build/dav1d_install/
expire_in: 1 week
+
+.build-android-common:
+ extends: .android-common
+ script:
+ - meson build --buildtype release
+ --werror
+ --libdir lib
+ --prefix "$(pwd)/build/dav1d_install"
+ --cross-file $CROSSFILE
+ -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
+
+build-android-aarch64:
+ extends: .build-android-common
+ variables:
+ CROSSFILE: package/crossfiles/aarch64-android.meson
build-debian-aarch64:
extends: .debian-aarch64-common