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

18 lines
323 B
Bash

#!/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