提交 4e7431ef 编写于 作者: T tensor-tang 提交者: GitHub

mobile ci script (#17796)

* test mobile ci
test=develop

* update
上级 22fae321
...@@ -92,6 +92,7 @@ function build_test_server { ...@@ -92,6 +92,7 @@ function build_test_server {
# Build the code and run lite server tests. This is executed in the CI system. # Build the code and run lite server tests. This is executed in the CI system.
function build_test_arm { function build_test_arm {
adb kill-server
adb devices | grep emulator | cut -f1 | while read line; do adb -s $line emu kill; done adb devices | grep emulator | cut -f1 | while read line; do adb -s $line emu kill; done
# start android arm64-v8a armeabi-v7a emulators first # start android arm64-v8a armeabi-v7a emulators first
echo n | avdmanager create avd -f -n paddle-armv8 -k "system-images;android-24;google_apis;arm64-v8a" echo n | avdmanager create avd -f -n paddle-armv8 -k "system-images;android-24;google_apis;arm64-v8a"
...@@ -177,7 +178,7 @@ function main { ...@@ -177,7 +178,7 @@ function main {
shift shift
;; ;;
cmake_arm) cmake_arm)
cmake_arm cmake_arm $2 $3
shift shift
;; ;;
test_server) test_server)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册