From 92171834b640323192dc3380e5f21b4212c3fb8a Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Wed, 6 May 2020 19:31:41 +0200 Subject: [PATCH] select mingw32 or mingw64 --- appveyor.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 5e6fc06..4272da9 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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"