Appveyour cmake (#805)

appveyour cmake
This commit is contained in:
Oleg Moiseenko 2020-06-19 16:56:48 +03:00 committed by GitHub
parent 456cc66a15
commit 5787f07617
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -236,26 +236,21 @@ build_script:
bash -c -i 'make clean'
#Write-Host "---------- cmake ----------" -ForegroundColor Yellow
Write-Host "---------- cmake ----------" -ForegroundColor Yellow
#$TestTime=[System.Environment]::TickCount
$TestTime=[System.Environment]::TickCount
#$script='C:\ProxSpace\msys2\msys2_shell.cmd -mingw32 -defterm -no-start -c "mkdir -p client/build; cd client/build; pwd; cmake -G`"MSYS Makefiles`" ..; ls; make VERBOSE=1;"'
cmd.exe /c 'C:\ProxSpace\msys2\msys2_shell.cmd -mingw32 -defterm -no-start -c "mkdir -p client/build; cd client/build; cmake -G""MSYS Makefiles"" ..; make VERBOSE=1;"'
#$script="$script"
Write-Host "---------- cmake tests ----------" -ForegroundColor Yellow
#$scriptblk=[scriptblock]::Create("$script")
#$res=&$scriptblk
cd c:\ProxSpace\pm3
bash -c -i './tools/pm3_tests.sh --clientbin client/build/proxmark3.exe client'
#Write-Host "---------- make ok ----------" -ForegroundColor Yellow
$testspass = ($LASTEXITCODE -eq 0)
#bash -c -i 'make check CHECKARGS="--clientbin ./client/build/proxmark3"'
#$testspass = ($LASTEXITCODE -eq 0)
#$global:TestsPassed=(($global:TestsPassed) -and ($testspass))
$global:TestsPassed=(($global:TestsPassed) -and ($testspass))
if ($testspass) {
Add-AppveyorTest -Name "cmake Tests" -Framework NUnit -Filename "make client/check" -Outcome Passed -Duration "$([System.Environment]::TickCount-$TestTime)"