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

更新 .gitlab-ci.yml

上级 557cfcee
流水线 #118829 已失败 于阶段
用时 32 秒
......@@ -40,7 +40,7 @@ build:
stage: build
<<: *codecode-runner
script:
- ./gradlew clean assembleDebug
- ./gradlew assembleDebug --offline
- avdmanager --verbose create avd --force --name "test" --device "pixel" --package "system-images;android-30;google_apis;x86"
- emulator -avd "test" -verbose -no-boot-anim -no-window -gpu swiftshader_indirect -accel on &
- ./android-wait-for-emulator.sh
......@@ -49,7 +49,7 @@ build:
# - adb install /builds/engintime-cs/teacher-group/shx/androidTest/MyThirdTest/app/build/outputs/apk/debug/app-debug.apk
# - adb shell am instrument -w -r -e debug false -e class 'com.example.mysecondapp.ExampleKotlinTest' com.example.mysecondapp.test/android.support.test.runner.AndroidJUnitRunner
# - adb shell am instrument -w -r -e debug false -e class 'com.example.mysecondapp.ExampleKotlinTest' com.example.mysecondapp.test/androidx.test.runner.AndroidJUnitRunner
- ./gradlew cAT
- ./gradlew cAT --offline
# - cd ./app/build/outputs/apk/debug
# -
artifacts:
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论