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

更新 .gitlab-ci.yml

上级 16ccfff2
流水线 #119136 已失败 于阶段
用时 16 分 29 秒
...@@ -27,7 +27,7 @@ build: ...@@ -27,7 +27,7 @@ build:
script: script:
# - ls /cache/wrapper/dists/gradle-6.6-all/dm6whvs5m6hlkbnc6ae2jubui # - ls /cache/wrapper/dists/gradle-6.6-all/dm6whvs5m6hlkbnc6ae2jubui
# - export # - export
- ./gradlew assembleDebug --offline - ./gradlew assembleDebug
- avdmanager --verbose create avd --force --name "test" --device "pixel" --package "system-images;android-30;google_apis;x86" > /dev/null - 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 & - 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
...@@ -40,7 +40,7 @@ build: ...@@ -40,7 +40,7 @@ build:
# - sleep 3; adb shell input keyevent 22 # - sleep 3; adb shell input keyevent 22
# - sleep 3; adb shell input keyevent 66 # - sleep 3; adb shell input keyevent 66
# - sleep 30s # - sleep 30s
- ./gradlew cAT --offline - ./gradlew cAT
# - echo "score 60" # - echo "score 60"
# - ./gradlew app:connectedAndroidTest -P android.testInstrumentationRunnerArguments.class=com.example.mysecondapp.ExampleKotlinTest#useEspressoTest --offline # - ./gradlew app:connectedAndroidTest -P android.testInstrumentationRunnerArguments.class=com.example.mysecondapp.ExampleKotlinTest#useEspressoTest --offline
# - echo "score 100" # - echo "score 100"
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论