Build linux and macOS wheels on GitHub Actions. (#409)

This commit is contained in:
Inada Naoki 2020-02-19 00:53:01 +09:00 committed by GitHub
parent 12506d8d91
commit 2849f5582a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 154 additions and 5 deletions

View file

@ -10,5 +10,11 @@ echo "arch=$ARCH"
for V in "${PYTHON_VERSIONS[@]}"; do
PYBIN=/opt/python/$V/bin
rm -rf build/ # Avoid lib build by narrow Python is used by wide python
$PYBIN/python setup.py bdist_wheel -p manylinux1_${ARCH}
$PYBIN/python setup.py bdist_wheel
done
cd dist
for whl in *.whl; do
auditwheel repair "$whl"
rm "$whl"
done