Have AppVeyor run msbuild directly.
@@ -3,6 +3,7 @@ version: 1.0.{build}
environment:
SCONSMODE: "MODE=DEBUG"
matrix:
+ - MSBUILD: Win32
- SCONSOPTS: "ARCH=x86_64 TOOLSET=msvc"
TEST_PYTHON2: "C:/Python27-x64/python.exe"
TEST_PYTHON3: "C:/Python34-x64/python.exe"
@@ -20,7 +21,7 @@ environment:
INSTALL_MINGW: "--x86"
TEST_PYTHON2: "C:/Python27/python.exe"
TEST_PYTHON3: "C:/Python34/python.exe"
- - DEFAULT_BUILD: yes
+ - MSBUILD: x64
build_script:
# Replace MinGW with MinGW64 if INSTALL_MINGW is defined.
@@ -35,8 +36,9 @@ build_script:
- cmd: if defined SCONSOPTS cd build/scons
- cmd: if defined SCONSOPTS scons develop_all dist %SCONSMODE% %SCONSOPTS%
- cmd: if defined SCONSOPTS cd ../..
-# Call build.bat on a DEFAULT_BUILD.
-- cmd: if defined DEFAULT_BUILD build.bat -d -p -r
+# Run msbuild on MSBUILD define.
+- cmd: if defined MSBUILD nuget restore build\msvs\libtcod.sln
+- cmd: if defined MSBUILD msbuild /nologo build\msvs\libtcod.sln /maxcpucount:2 /p:Configuration^=Debug /p:Platform^=%MSBUILD%
test_script:
- cmd: if exist unittest.exe unittest.exe
