select mingw32 or mingw64

This commit is contained in:
Thomas Bernard 2020-05-06 19:31:41 +02:00
parent 95c39fef46
commit 92171834b6
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C
1 changed files with 5 additions and 1 deletions

View File

@ -4,15 +4,19 @@ environment:
- PYTHON_VER: C:\Python27\python
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
SETUP_COMPILER_FLAG: --compiler=mingw32
ARCH_BITS: 32
- PYTHON_VER: C:\Python35\python
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
SETUP_COMPILER_FLAG:
ARCH_BITS: 32
- PYTHON_VER: C:\Python37\python
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
SETUP_COMPILER_FLAG:
ARCH_BITS: 32
- PYTHON_VER: C:\Python37-x64\python
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
SETUP_COMPILER_FLAG:
ARCH_BITS: 64
version: '$(APP_VERSION).{build}'
@ -20,7 +24,7 @@ version: '$(APP_VERSION).{build}'
image: Visual Studio 2017
install:
- set PATH=%PATH%;C:\msys64\mingw32\bin
- set PATH=%PATH%;C:\msys64\mingw%ARCH_BITS%\bin
# We need wheel installed to build wheels
- "%PYTHON_VER%.exe -m pip install wheel"