[x264-devel] [Git][videolan/x264][master] ci: Test compiling for Android
Martin Storsjö (@mstorsjo)
gitlab at videolan.org
Sun Dec 29 17:54:49 UTC 2024
Martin Storsjö pushed to branch master at VideoLAN / x264
Commits:
450946f9 by Martin Storsjö at 2024-12-29T17:48:58+00:00
ci: Test compiling for Android
- - - - -
1 changed file:
- .gitlab-ci.yml
Changes:
=====================================
.gitlab-ci.yml
=====================================
@@ -53,6 +53,20 @@ stages:
_XLDFLAGS: "-arch arm64"
_BIN_PATH: /Users/videolanci/sandbox/bin
+.variables-android-arm: &variables-android-arm
+ _TRIPLET: "arm-linux-androideabi"
+ _CLANG_TRIPLET: "armv7a-linux-androideabi"
+ _ANDROID_VERSION: "21"
+ _PLATFORMSUFFIX: ""
+ _WRAPPER: ""
+
+.variables-android-aarch64: &variables-android-aarch64
+ _TRIPLET: "aarch64-linux-android"
+ _CLANG_TRIPLET: "aarch64-linux-android"
+ _ANDROID_VERSION: "21"
+ _PLATFORMSUFFIX: ""
+ _WRAPPER: ""
+
.build:
stage: build
script: |
@@ -184,6 +198,25 @@ build-macos-arm64:
- monterey
variables: *variables-macos-arm64
+.build-android:
+ extends: .build
+ image: registry.videolan.org/vlc-debian-android:20241118101328
+ tags:
+ - docker
+ - amd64
+ script: |
+ set -x
+ CC=${_CLANG_TRIPLET}${_ANDROID_VERSION}-clang AR=llvm-ar RANLIB=llvm-ranlib STRIP=llvm-strip PKGCONFIG=pkg-config ./configure --host="${_TRIPLET}" --enable-pic --enable-strip
+ make -j$(getconf _NPROCESSORS_ONLN) x264 checkasm
+
+build-android-arm:
+ extends: .build-android
+ variables: *variables-android-arm
+
+build-android-aarch64:
+ extends: .build-android
+ variables: *variables-android-aarch64
+
.test: &test
stage: test
script: |
View it on GitLab: https://code.videolan.org/videolan/x264/-/commit/450946f96bb20ca3f71d494c0800c3ad747de769
--
View it on GitLab: https://code.videolan.org/videolan/x264/-/commit/450946f96bb20ca3f71d494c0800c3ad747de769
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the x264-devel
mailing list