build: tweak appveyor again

This commit is contained in:
Eric Wasylishen 2017-03-06 13:50:52 -08:00
parent 7f48a67aa6
commit e3b1c18d8f
1 changed files with 6 additions and 2 deletions

View File

@ -19,13 +19,17 @@ build_script:
If ($env:Platform -Match "x64") {
cmake .. -T v120_xp -Dembree_DIR="c:/embree-2.14.0.x64.windows/lib/cmake/embree-2.14.0" -DCMAKE_GENERATOR_PLATFORM=x64
msbuild /target:testlight;PACKAGE /p:Configuration=Release /p:Platform=x64 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" tyrutils.sln
$cmakePlatform = "x64"
} Else {
cmake .. -T v120_xp -Dembree_DIR="c:/embree-2.14.0.win32.windows/lib/cmake/embree-2.14.0"
msbuild /target:testlight;PACKAGE /p:Configuration=Release /p:Platform=win32 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" tyrutils.sln
$cmakePlatform = "win32"
}
msbuild /target:testlight /p:Configuration=Release /p:Platform=$cmakePlatform /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" tyrutils.sln
msbuild /p:Configuration=Release /p:Platform=$cmakePlatform /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" PACKAGE.vcxproj
.\Release\testlight.exe
artifacts:
- path: cmakebuild\*.zip