Skip to content

Instantly share code, notes, and snippets.

@stuaxo
Created August 13, 2020 16:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stuaxo/f37f1ae0d1c0f0b49b16065b23d713e1 to your computer and use it in GitHub Desktop.
Save stuaxo/f37f1ae0d1c0f0b49b16065b23d713e1 to your computer and use it in GitHub Desktop.
Script to attempt to build pycairo
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