mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-01 14:55:56 +01:00
Use Powershell for Cygwin commands.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
parent
495db12206
commit
68a1b105ee
13
appveyor.yml
13
appveyor.yml
@ -372,6 +372,15 @@ build_script:
|
||||
bash.exe configure --everything & make.exe -s)
|
||||
|
||||
- ps: |
|
||||
if ($env:builder -eq "cygwin")
|
||||
{
|
||||
$LastExitCode=0;
|
||||
$cmd='bash.exe configure --everything';$cmd;
|
||||
Write-Host -ForegroundColor Yellow $cmd ' LastExitCode=' $lastExitCode;
|
||||
$LastExitCode=0;
|
||||
$cmd='make.exe -s';
|
||||
Write-Host -ForegroundColor Yellow $cmd ' LastExitCode=' $lastExitCode;
|
||||
}
|
||||
if ($env:builder -eq "msbuild")
|
||||
{
|
||||
$logger='"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"';
|
||||
@ -448,6 +457,7 @@ test_script:
|
||||
{
|
||||
if ($env:builder -eq "cygwin")
|
||||
{
|
||||
$LastExitCode=0;
|
||||
if ($env:platform -eq "Win32")
|
||||
{
|
||||
$cmd = 'C:\cygwin\usr\sbin\cygserver.exe "&"';iex "& $cmd"
|
||||
@ -456,7 +466,8 @@ test_script:
|
||||
{
|
||||
$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")
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user