mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 19:38:08 +00:00
update screport submodule and gitlab-ci and some references for pixel_6
This commit is contained in:
parent
41faf249c9
commit
96faf84691
3 changed files with 20 additions and 50 deletions
|
|
@ -1,34 +1,39 @@
|
|||
#dependencies:
|
||||
#install 'Android SDK Command-line Tools' from Android Studio > Tools > SDK Manager > SDK Tools > Android SDK Command-line Tools
|
||||
|
||||
|
||||
variables:
|
||||
android_api: 33 #android 13
|
||||
EMULATOR_PATH: /Users/quentin/Library/Android/sdk/emulator/
|
||||
CMD_LINE_PATH: /Users/quentin/Library/Android/sdk/cmdline-tools/latest/bin/
|
||||
android_api: "33" #android 13
|
||||
emulator_type: apis #atd for api < 30 more efficient
|
||||
system_architecture: arm64-v8a #x86_64 or x86 for Intels
|
||||
system_architecture: x86_64 #arm64-v8a or x86 for Intels
|
||||
android_system_image: system-images;android-$android_api;google_$emulator_type;$system_architecture
|
||||
emulator_device = pixel_7
|
||||
emulator_device: pixel_6
|
||||
emulator_name: $emulator_device-api_$android_api-google_$emulator_type-arch_$system_architecture
|
||||
|
||||
|
||||
job-android-uitests:
|
||||
|
||||
stage: uitests
|
||||
tags: [ "deploy" ]
|
||||
tags: [ "macmini-m1-bis-xcode13" ]
|
||||
|
||||
dependencies:
|
||||
- job-android
|
||||
|
||||
|
||||
before_script:
|
||||
- sdkmanager --install $android_system_image > emulatorSystemImageInstallation.log
|
||||
- echo no | ${AVDMANAGER_EXE} --verbose create avd --force --name $emulator_name --package $android_system_image --tag google_$emulator_type --abi $system_architecture --device emulator_device > emulatorCreation.log
|
||||
- abd start-server
|
||||
- emulator -avd $emulator_name """-no-window -no-audio"""&
|
||||
- ${WAIT_FOR_EMULATOR_EXE}
|
||||
- adb shell input keyevent 82
|
||||
- echo $PATH
|
||||
- ${CMD_LINE_PATH}sdkmanager --install "$android_system_image" > emulatorSystemImageInstallation.log
|
||||
- echo $android_system_image
|
||||
- echo no | ${CMD_LINE_PATH}avdmanager --verbose create avd --force --name $emulator_name --package $android_system_image --tag google_$emulator_type --abi $system_architecture --device $emulator_device > emulatorCreation.log
|
||||
- adb start-server
|
||||
- ${EMULATOR_PATH}emulator -avd $emulator_name &
|
||||
- wait-for-android-emulator
|
||||
- adb shell input keyevent 82
|
||||
|
||||
script:
|
||||
- ./gradlew -Pandroid.testInstrumentationRunnerArguments.class=org.linphone.call.OutgoingCallUITests -PscreportAutoClose=true connectedAndroidTest
|
||||
- ./gradlew -Pandroid.testInstrumentationRunnerArguments.class=org.linphone.call.OutgoingCallUITests -PscreportAutoClose=true connectedAndroidTest
|
||||
|
||||
after_script:
|
||||
- adb -s emulator-5554 emu kill
|
||||
- adb kill-server
|
||||
- adb -s emulator-5554 emu kill
|
||||
- adb kill-server
|
||||
|
|
|
|||
|
|
@ -19,38 +19,3 @@ stages:
|
|||
- build
|
||||
- uitests
|
||||
- deploy
|
||||
|
||||
|
||||
variables:
|
||||
PATH: /Users/quentin/Library/Android/sdk/emulator/:/Users/quentin/Library/Android/sdk/cmdline-tools/latest/bin/
|
||||
android_api: "33" #android 13
|
||||
emulator_type: apis #atd for api < 30 more efficient
|
||||
system_architecture: arm64-v8a #x86_64 or x86 for Intels
|
||||
android_system_image: system-images;android-$android_api;google_$emulator_type;$system_architecture
|
||||
emulator_device: pixel_7
|
||||
emulator_name: $emulator_device-api_$android_api-google_$emulator_type-arch_$system_architecture
|
||||
|
||||
|
||||
job-android-uitests:
|
||||
|
||||
stage: uitests
|
||||
tags: [ "android" ]
|
||||
|
||||
dependencies:
|
||||
- job-android
|
||||
|
||||
before_script:
|
||||
- echo $PATH
|
||||
- ${PATH}sdkmanager --install $android_system_image > emulatorSystemImageInstallation.log
|
||||
- echo no | ${PATH}avdmanager --verbose create avd --force --name $emulator_name --package $android_system_image --tag google_$emulator_type --abi $system_architecture --device emulator_device > emulatorCreation.log
|
||||
- abd start-server
|
||||
- ${PATH}emulator -avd $emulator_name &
|
||||
- wait-for-android-emulator
|
||||
- adb shell input keyevent 82
|
||||
|
||||
script:
|
||||
- ./gradlew -Pandroid.testInstrumentationRunnerArguments.class=org.linphone.call.OutgoingCallUITests -PscreportAutoClose=true connectedAndroidTest
|
||||
|
||||
after_script:
|
||||
- adb -s emulator-5554 emu kill
|
||||
- adb kill-server
|
||||
|
|
|
|||
2
screport
2
screport
|
|
@ -1 +1 @@
|
|||
Subproject commit e67246c2c5f4f14fd74557be79a4e4ad6c53c188
|
||||
Subproject commit e92d40e33bdb45f73b23dc28f6c53c4aabd01246
|
||||
Loading…
Add table
Reference in a new issue