提交 a7bd3130 创建 作者: 宋海霞's avatar 宋海霞

更新 .gitlab-ci.yml

上级 32c8716f
流水线 #119165 已失败 于阶段
用时 7 分 51 秒
image: "android-container:8.3"
image: "android-container:8.4"
variables:
# ANDROID_COMPILE_SDK: "25"
......@@ -9,7 +9,7 @@ variables:
before_script:
- chmod +x ./gradlew
- chmod +x ./android-wait-for-emulator.sh
- chmod +x /android-wait-for-emulator.sh
stages:
- build
......@@ -30,7 +30,7 @@ build:
- ./gradlew assembleDebug --offline
- avdmanager --verbose create avd --force --name "test" --device "pixel" --package "system-images;android-30;google_apis;x86" > /dev/null
- emulator -memory 4096 -timezone Asia/Shang_Hai -avd "test" -no-boot-anim -no-window -gpu swiftshader_indirect -accel on -noaudio -no-snapshot-save -dns-server 8.8.8.8,8.8.4.4 -netfast -nojni &
- ./android-wait-for-emulator.sh 20
- /android-wait-for-emulator.sh 20
- adb shell am broadcast -a android.intent.action.CLOSE_SYSTEM_DIALOGS
- sleep 3; adb shell input keyevent 22
- sleep 3; adb shell input keyevent 22
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论