提交 fc702d1c 编写于 作者: M MRXLT

fix cube ci

上级 b310b917
...@@ -200,6 +200,7 @@ function python_run_criteo_ctr_with_cube() { ...@@ -200,6 +200,7 @@ function python_run_criteo_ctr_with_cube() {
local TYPE=$1 local TYPE=$1
yum install -y bc >/dev/null yum install -y bc >/dev/null
cd criteo_ctr_with_cube # pwd: /Serving/python/examples/criteo_ctr_with_cube cd criteo_ctr_with_cube # pwd: /Serving/python/examples/criteo_ctr_with_cube
export SERVING_BIN=${SERVING_WORKDIR}/build-server-${TYPE}/core/general-server/serving
case $TYPE in case $TYPE in
CPU) CPU)
check_cmd "wget https://paddle-serving.bj.bcebos.com/unittest/ctr_cube_unittest.tar.gz" check_cmd "wget https://paddle-serving.bj.bcebos.com/unittest/ctr_cube_unittest.tar.gz"
...@@ -260,6 +261,7 @@ function python_run_criteo_ctr_with_cube() { ...@@ -260,6 +261,7 @@ function python_run_criteo_ctr_with_cube() {
exit 1 exit 1
;; ;;
esac esac
unset SERVING_BIN
echo "test criteo_ctr_with_cube $TYPE part finished as expected." echo "test criteo_ctr_with_cube $TYPE part finished as expected."
cd .. # pwd: /Serving/python/examples cd .. # pwd: /Serving/python/examples
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册