build: tweak appveyor again
This commit is contained in:
parent
7f48a67aa6
commit
e3b1c18d8f
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue