mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-01 21:13:10 +01:00
17
appveyor.yml
17
appveyor.yml
@@ -21,11 +21,7 @@ configuration:
|
||||
|
||||
environment:
|
||||
bundling: bundled
|
||||
logger: 'C:\Progra~1\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll'
|
||||
samples: samples
|
||||
tests: tests
|
||||
verbosity: minimal
|
||||
|
||||
|
||||
matrix:
|
||||
- builder: cmake
|
||||
vsver: 120
|
||||
@@ -166,16 +162,21 @@ build_script:
|
||||
- ps: |
|
||||
if ($env:builder -eq "msbuild")
|
||||
{
|
||||
$logger: 'C:\Progra~1\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll'
|
||||
$samples: samples
|
||||
$tests: tests
|
||||
$verbosity: minimal
|
||||
|
||||
$process = Start-Process -PassThru -NoNewWindow -Wait -FilePath "buildwin.cmd"
|
||||
-Args "$env:vsver build $env:linkmode $env:configuration $env:platform $env:samples $env:tests msbuild $env:verbosity $env:logger"
|
||||
-Args "$env:vsver build $env:linkmode $env:configuration $env:platform $samples $tests msbuild $verbosity $logger"
|
||||
-RSO cout -RSE cerr;
|
||||
gc cout; gc cerr;
|
||||
}
|
||||
if ($env:builder -eq "cmake")
|
||||
{
|
||||
mkdir cmake-build | out-null;cd cmake-build;
|
||||
cmake ../. -G"NMake Makefiles JOM" -DENABLE_TESTS=ON -DENABLE_NETSSL=OFF -DENABLE_NETSSL_WIN=ON -DENABLE_DATA_MYSQL=OFF -DENABLE_REDIS=OFF;
|
||||
cmake --build . --config $env:configuration -- /nologo;
|
||||
cmake ../. -G"NMake Makefiles JOM" -DENABLE_TESTS=ON -DENABLE_NETSSL=OFF -DENABLE_NETSSL_WIN=ON -DENABLE_DATA_MYSQL=OFF -DENABLE_REDIS=OFF
|
||||
cmake --build . --config $env:configuration
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user