diff options
| author | Frazer McLean <frazer@frazermclean.co.uk> | 2016-07-16 23:11:19 +0200 |
|---|---|---|
| committer | Frazer McLean <frazer@frazermclean.co.uk> | 2016-07-20 00:11:20 +0200 |
| commit | 0d1fb10033e197d75485dd4ea700da6bcd14ee0f (patch) | |
| tree | 5203f7543903d948b0bf6ae027a1e75f13ea65a9 /appveyor/build.cmd | |
| parent | 8952a30f0a27d6b57e7b054b8b464382b67e3828 (diff) | |
| download | sqlalchemy-pr/291.tar.gz | |
Add AppVeyor build with autoupload when commit is tagged with 'rel_*'pr/291
Diffstat (limited to 'appveyor/build.cmd')
| -rw-r--r-- | appveyor/build.cmd | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/appveyor/build.cmd b/appveyor/build.cmd new file mode 100644 index 000000000..243dc9a1f --- /dev/null +++ b/appveyor/build.cmd @@ -0,0 +1,21 @@ +@echo off +:: To build extensions for 64 bit Python 3, we need to configure environment +:: variables to use the MSVC 2010 C++ compilers from GRMSDKX_EN_DVD.iso of: +:: MS Windows SDK for Windows 7 and .NET Framework 4 +:: +:: More details at: +:: https://github.com/cython/cython/wiki/64BitCythonExtensionsOnWindows + +IF "%DISTUTILS_USE_SDK%"=="1" ( + ECHO Configuring environment to build with MSVC on a 64bit architecture + ECHO Using Windows SDK 7.1 + "C:\Program Files\Microsoft SDKs\Windows\v7.1\Setup\WindowsSdkVer.exe" -q -version:v7.1 + CALL "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 /release + SET MSSdk=1 + REM Need the following to allow tox to see the SDK compiler + SET TOX_TESTENV_PASSENV=DISTUTILS_USE_SDK MSSdk INCLUDE LIB +) ELSE ( + ECHO Using default MSVC build environment +) + +CALL %* |
