iced/build/ci-py-build-wheels.sh

18 lines
323 B
Bash
Raw Normal View History

2020-11-28 00:32:59 +00:00
#!/bin/bash
set -e
if [ ! "$GITHUB_ACTIONS" ]; then
echo "This file should only be executed from GitHub Actions"
exit 1
fi
python --version
pip --version
pip install -U setuptools wheel setuptools-rust
git clean -xdf
./build/build-python --wheel-only
mkdir -p /tmp/py-dist
cp src/rust/iced-x86-py/dist/* /tmp/py-dist