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

fix model_benchmark ci (#33035)

* fix model_bhecnmark ci

* fix model_bhecnmark ci
上级 a85edddb
......@@ -24,11 +24,13 @@ function check_whl {
mkdir -p /tmp/pr && mkdir -p /tmp/develop
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 -b develop_base_pr upstream/$BRANCH
cd build
make -j `nproc`
[ $? -ne 0 ] && echo "install paddle failed." && exit 1
unzip -q python/dist/*.whl -d /tmp/develop
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.
先完成此消息的编辑!
想要评论请 注册