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

conclude model_test in CI into Android test (#2639)

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