environment:
- global:
- MINGW_32: C:\mingw-w64\i686-6.3.0-posix-dwarf-rt_v5-rev1\mingw32\bin
- MINGW_64: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin
-
matrix:
# pre-installed python version, see:
PYTHON_ARCH: 64
install:
-
- ECHO "Installed SDKs:"
- ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\""
- "SET PATH=%PYTHONDIR%;%PYTHONDIR%\\Scripts;%PATH%"
- #- if [%PYTHON_ARCH%]==[32] SET PATH=%MINGW_32%;%PATH%
- - if [%PYTHON_ARCH%]==[64] SET PATH=%MINGW_64%;%PATH%
-
# Check that we have the expected version and architecture for Python
- "python --version"
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
build_script:
# also build libaubio with waf
- - python waf configure build install --verbose
+ - python waf configure build install --verbose --msvc_version="msvc 14.0"
# clean before building python package
- python waf distclean
- # build python module without using libaubio
- - pip wheel -v -v -v --wheel-dir=dist .
# build, upload and install wheel (inspired by numpy's appveyor)
- ps: |
pip wheel -v -v -v --wheel-dir=dist .