mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-16 15:01:15 +02:00
Merge pull request #1237 from Kampbell/develop
AppVeyor: update for reducing the oveall build & test time
This commit is contained in:
commit
6a9317cb09
46
appveyor.yml
46
appveyor.yml
@ -64,25 +64,25 @@ environment:
|
|||||||
vsver: 120
|
vsver: 120
|
||||||
linkmode: shared
|
linkmode: shared
|
||||||
|
|
||||||
- builder: msbuild
|
# - builder: msbuild
|
||||||
vsver: 120
|
# vsver: 120
|
||||||
linkmode: static_md
|
# linkmode: static_md
|
||||||
|
|
||||||
- builder: msbuild
|
# - builder: msbuild
|
||||||
vsver: 120
|
# vsver: 120
|
||||||
linkmode: static_mt
|
# linkmode: static_mt
|
||||||
|
|
||||||
- builder: msbuild
|
- builder: msbuild
|
||||||
vsver: 140
|
vsver: 140
|
||||||
linkmode: shared
|
linkmode: shared
|
||||||
|
|
||||||
- builder: msbuild
|
# - builder: msbuild
|
||||||
vsver: 140
|
# vsver: 140
|
||||||
linkmode: static_md
|
# linkmode: static_md
|
||||||
|
|
||||||
- builder: msbuild
|
# - builder: msbuild
|
||||||
vsver: 140
|
# vsver: 140
|
||||||
linkmode: static_mt
|
# linkmode: static_mt
|
||||||
|
|
||||||
- builder: cmake
|
- builder: cmake
|
||||||
vsver: 120
|
vsver: 120
|
||||||
@ -368,10 +368,20 @@ build_script:
|
|||||||
#
|
#
|
||||||
# Command executed with exception: MC: Compiling C:/projects/poco/Foundation/src/pocomsg.mc
|
# Command executed with exception: MC: Compiling C:/projects/poco/Foundation/src/pocomsg.mc
|
||||||
# -------------------------------------------------------------------------------------------
|
# -------------------------------------------------------------------------------------------
|
||||||
- if "%builder%"=="cygwin" (
|
|
||||||
bash.exe configure --everything & make.exe -s)
|
|
||||||
|
|
||||||
- ps: |
|
- ps: |
|
||||||
|
if ($env:builder -eq "cygwin")
|
||||||
|
{
|
||||||
|
$LastExitCode=0;
|
||||||
|
$cmd='bash.exe configure --everything';iex "& $cmd"
|
||||||
|
if ($LastExitCode -ne 0) {
|
||||||
|
throw "$cmd failed with exit code $LastExitCode."
|
||||||
|
}
|
||||||
|
$LastExitCode=0;
|
||||||
|
$cmd='make.exe -s';iex "& $cmd"
|
||||||
|
if ($LastExitCode -ne 0) {
|
||||||
|
throw "$cmd failed with exit code $LastExitCode."
|
||||||
|
}
|
||||||
|
}
|
||||||
if ($env:builder -eq "msbuild")
|
if ($env:builder -eq "msbuild")
|
||||||
{
|
{
|
||||||
$logger='"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"';
|
$logger='"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"';
|
||||||
@ -448,6 +458,7 @@ test_script:
|
|||||||
{
|
{
|
||||||
if ($env:builder -eq "cygwin")
|
if ($env:builder -eq "cygwin")
|
||||||
{
|
{
|
||||||
|
$LastExitCode=0;
|
||||||
if ($env:platform -eq "Win32")
|
if ($env:platform -eq "Win32")
|
||||||
{
|
{
|
||||||
$cmd = 'C:\cygwin\usr\sbin\cygserver.exe "&"';iex "& $cmd"
|
$cmd = 'C:\cygwin\usr\sbin\cygserver.exe "&"';iex "& $cmd"
|
||||||
@ -456,8 +467,9 @@ test_script:
|
|||||||
{
|
{
|
||||||
$cmd = 'C:\cygwin64\usr\sbin\cygserver.exe "&"';iex "& $cmd"
|
$cmd = 'C:\cygwin64\usr\sbin\cygserver.exe "&"';iex "& $cmd"
|
||||||
}
|
}
|
||||||
$cmd = 'bash.exe -c "appveyor/Cygwin/runtests.sh"';iex "& $cmd"
|
$cmd = 'bash.exe -c "appveyor/Cygwin/runtests.sh"';iex "& $cmd";
|
||||||
}
|
Write-Host -ForegroundColor Yellow $cmd ': LastExitCode=' $lastExitCode;
|
||||||
|
}
|
||||||
if ($env:builder -eq "msbuild" -and $env:linkmode -eq "shared")
|
if ($env:builder -eq "msbuild" -and $env:linkmode -eq "shared")
|
||||||
{
|
{
|
||||||
$suffix = '';
|
$suffix = '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user