Created
August 13, 2020 16:12
-
-
Save stuaxo/f37f1ae0d1c0f0b49b16065b23d713e1 to your computer and use it in GitHub Desktop.
Script to attempt to build pycairo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -ex | |
cd pycairo | |
PATH=$PATH:/c/ProgramData/chocolatey/bin:/c/ProgramData/chocolatey/tools | |
export CAIRO_VERSION=1.17.2 | |
mkdir -p builds | |
function do_builds() { | |
bash -c .travis/runPyCairox64.sh | |
cp dist/*.whl builds | |
bash -c .travis/runPyCairox86.sh | |
cp dist/*.whl builds | |
} | |
# env vars copied from .travis.yml | |
export TRAVIS_PYTHON_VERSION=3.6 | |
export PYVER="3.6.8" | |
export PYDIR="Python36" | |
do_builds | |
export TRAVIS_PYTHON_VERSION=3.7 | |
export PYVER="3.7.7" | |
export PYDIR="Python37" | |
do_builds | |
export TRAVIS_PYTHON_VERSION=3.8 | |
export PYVER="3.8.3" | |
export PYDIR="Python38" | |
do_builds |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment