未验证 提交 b1f77b4d 编写于 作者: T tianshuo78520a 提交者: GitHub

fix whl check (#43415)

上级 cb2958ae
......@@ -955,6 +955,9 @@ function fetch_upstream_develop_if_not_exist() {
}
function check_whl_size() {
if [ ${BRANCH} != 'develop' ];then
return
fi
set +x
pr_whl_size=`du -m ${PADDLE_ROOT}/build/pr_whl/*.whl|awk '{print $1}'`
......@@ -1094,6 +1097,10 @@ function check_approvals_of_unittest() {
fi
fi
elif [ $check_times == 3 ]; then
if [ ${BRANCH} != 'develop' ];then
return
fi
rm -f fluidInference_so_size
curl -O https://paddle-docker-tar.bj.bcebos.com/paddle_ci_index/fluidInference_so_size
oriBuildSize=`cat fluidInference_so_size`
......@@ -3276,6 +3283,10 @@ function build_develop() {
}
function check_coverage_build() {
if [ ${BRANCH} != 'develop' ];then
return
fi
rm -f build_size
curl -O https://paddle-docker-tar.bj.bcebos.com/paddle_ci_index/build_size
curl -O https://xly-devops.bj.bcebos.com/PR/build_whl/${AGILE_PULL_ID}/${AGILE_REVISION}/coverage_build_size
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册