fix for python publish build

This commit is contained in:
kabeor 2022-02-27 23:44:35 +08:00
parent d86c150854
commit 2cfb74fde3
1 changed files with 2 additions and 0 deletions

View File

@ -39,10 +39,12 @@ jobs:
elif [ ${{ matrix.platform }} == 'x32' ] && [ ${{ matrix.os }} == 'ubuntu-latest' ]; then
docker run --rm -v `pwd`/:/work dockcross/manylinux1-x86 > ./dockcross
chmod +x ./dockcross
chmod +x bindings/python/build_wheel.sh
./dockcross bindings/python/build_wheel.sh
elif [ ${{ matrix.platform }} == 'x64' ] && [ ${{ matrix.os }} == 'ubuntu-latest' ]; then
docker run --rm -v `pwd`/:/work dockcross/manylinux1-x64 > ./dockcross
chmod +x ./dockcross
chmod +x bindings/python/build_wheel.sh
./dockcross bindings/python/build_wheel.sh
elif [ ${{ matrix.platform }} == 'x32' ] && [ ${{ matrix.os }} == 'macos-latest' ]; then
cd bindings/python && python setup.py sdist