Added hardware acceleration support, needed for tests

This commit is contained in:
Peio Rigaux 2025-09-01 19:14:06 +02:00
parent 41795d6c18
commit 93650bbcef
2 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@ job-android-tester:
stage: test
tags: [ "docker-test-liblinphone-lenovo-2-sdk " ]
image: gitlab.linphone.org:4567/bc/public/linphone-android/bc-dev-android:20230414_bullseye_jdk_17_cleaned
image: gitlab.linphone.org:4567/bc/public/linphone-android/bc-dev-android:20250901_add_hardware_accel_for_tests
#only:
# - schedules

View file

@ -31,8 +31,8 @@ RUN wget https://dl.google.com/android/repository/commandlinetools-linux-9477386
# Update path to include all Android SDK tools
ENV PATH $ANDROID_HOME/cmdline-tools/latest/bin:$ANDROID_HOME/tools:$ANDROID_HOME/tools/bin:$ANDROID_HOME/platform-tools:$PATH
# Get the Android SDK
RUN echo "y" | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager "platform-tools" "tools" "platforms;android-33"
# Get the Android SDK, and cmdlinetools + x86_64 hardware accel for tests
RUN echo "y" | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager "platform-tools" "tools" "platforms;android-33" "cmdline-tools;19.0" "system-images;android-33;default;x86_64"
# Accept Android SDK licenses
RUN yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses