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

Revert "fix model_benchmark ci (#33035)" (#33080)

This reverts commit 0e5d832c.
上级 99a11e38
...@@ -24,13 +24,11 @@ function check_whl { ...@@ -24,13 +24,11 @@ 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
cd build cd build
make -j `nproc` make -j `nproc`
[ $? -ne 0 ] && echo "install paddle failed." && exit 1
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.
先完成此消息的编辑!
想要评论请 注册