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

fix model_benchmark ci (#33093)

* fix model_benchmark ci

* ADD proto_so
上级 14e8d197
...@@ -24,11 +24,13 @@ function check_whl { ...@@ -24,11 +24,13 @@ function check_whl {
mkdir -p /tmp/pr && mkdir -p /tmp/develop mkdir -p /tmp/pr && mkdir -p /tmp/develop
unzip -q build/python/dist/*.whl -d /tmp/pr unzip -q build/python/dist/*.whl -d /tmp/pr
rm -f build/python/dist/*.whl && rm -f build/python/build/.timestamp
git checkout . git checkout .
git checkout -b develop_base_pr upstream/$BRANCH git checkout -b develop_base_pr upstream/$BRANCH
bash -x paddle/scripts/paddle_build.sh build
[ $? -ne 0 ] && echo "install paddle failed." && exit 1
cd build cd build
make -j `nproc`
unzip -q python/dist/*.whl -d /tmp/develop unzip -q python/dist/*.whl -d /tmp/develop
sed -i '/version.py/d' /tmp/pr/*/RECORD sed -i '/version.py/d' /tmp/pr/*/RECORD
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册