提交 18f9ea1b 编写于 作者: H huzhiqiang 提交者: sangoly

conclude model_test in CI into Android test (#2639)

上级 05da0c72
...@@ -773,7 +773,7 @@ function build_test_arm_subtask_armlinux { ...@@ -773,7 +773,7 @@ function build_test_arm_subtask_armlinux {
echo "Done" echo "Done"
} }
# sub-task-model # this method need to invoke `build_test_arm_subtask_android` first.
function build_test_arm_subtask_model { function build_test_arm_subtask_model {
# We just test following single one environment to limit the CI time. # We just test following single one environment to limit the CI time.
local os=android local os=android
...@@ -785,9 +785,7 @@ function build_test_arm_subtask_model { ...@@ -785,9 +785,7 @@ function build_test_arm_subtask_model {
cur_dir=$(pwd) cur_dir=$(pwd)
build_dir=$cur_dir/build.lite.${os}.${abi}.${lang} build_dir=$cur_dir/build.lite.${os}.${abi}.${lang}
mkdir -p $build_dir
cd $build_dir cd $build_dir
cmake_arm $os $abi $lang
make $test_name -j$NUM_CORES_FOR_COMPILE make $test_name -j$NUM_CORES_FOR_COMPILE
# prepare adb devices # prepare adb devices
...@@ -802,7 +800,6 @@ function build_test_arm_subtask_model { ...@@ -802,7 +800,6 @@ function build_test_arm_subtask_model {
fi fi
echo "Done" echo "Done"
cd - cd -
rm -rf $build_dir
} }
...@@ -1034,6 +1031,11 @@ function main { ...@@ -1034,6 +1031,11 @@ function main {
;; ;;
build_test_arm_subtask_android) build_test_arm_subtask_android)
build_test_arm_subtask_android build_test_arm_subtask_android
build_test_arm_subtask_model test_mobilenetv1 mobilenet_v1
build_test_arm_subtask_model test_mobilenetv1_int8 MobileNetV1_quant
build_test_arm_subtask_model test_mobilenetv2 mobilenet_v2_relu
build_test_arm_subtask_model test_resnet50 resnet50
build_test_arm_subtask_model test_inceptionv4 inception_v4_simple
shift shift
;; ;;
build_test_arm_subtask_armlinux) build_test_arm_subtask_armlinux)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册