Merge pull request #14665 from JiabinYang/ci/add_import_check

add mac ci check on import
revert-14398-imperative
Jiabin Yang 6 years ago committed by GitHub
commit 6dcc6378b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -442,6 +442,8 @@ EOF
make install -j 8
if [ "$1" == "cp27-cp27m" ]; then
pip install --user ${INSTALL_PREFIX:-/paddle/build}/opt/paddle/share/wheels/*.whl
set -e
python -c "import paddle.fluid"
elif [ "$1" == "cp35-cp35m" ]; then
pip3.5 install --user ${INSTALL_PREFIX:-/paddle/build}/opt/paddle/share/wheels/*.whl
elif [ "$1" == "cp36-cp36m" ]; then
@ -449,7 +451,7 @@ EOF
elif [ "$1" == "cp37-cp37m" ]; then
pip3.7 install --user ${INSTALL_PREFIX:-/paddle/build}/opt/paddle/share/wheels/*.whl
fi
if [[ ${WITH_FLUID_ONLY:-OFF} == "OFF" ]] ; then
paddle version
fi

Loading…
Cancel
Save