X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=appveyor.yml;h=21f3bbe326b20d8ba4a79ee1c3ac2b8f5f3d306a;hp=c711dd6ce0b10ed9c6d0e7e9009ba7b2e0800b71;hb=c83cbe42f3a6c9b145a4557ef874222fe685a9bc;hpb=a2b8f91cfaa39185c0fb0ec597d1c760bc431c8e diff --git a/appveyor.yml b/appveyor.yml index c711dd6c..21f3bbe3 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -7,7 +7,7 @@ branches: - appveyor # Operating system (build VM template) -os: Visual Studio 2015 +os: Visual Studio 2017 # Build platform, i.e. x86, x64, AnyCPU. This setting is optional. platform: @@ -51,7 +51,7 @@ before_build: $b = git log HEAD | sls "\b[Bb]ench[ :]+[0-9]{7}" | select -first 1 $bench = $b -match '\D+(\d+)' | % { $matches[1] } Write-Host "Reference bench:" $bench - $g = "Visual Studio 14 2015" + $g = "Visual Studio 15 2017" If (${env:PLATFORM} -eq 'x64') { $g = $g + ' Win64' } cmake -G "${g}" . Write-Host "Generated files for: " $g @@ -61,9 +61,9 @@ build_script: before_test: - cd src/%CONFIGURATION% + - stockfish bench 2> out.txt >NUL - ps: | # Verify bench number - ./stockfish bench 2> out.txt 1> null $s = (gc "./out.txt" | out-string) $r = ($s -match 'Nodes searched \D+(\d+)' | % { $matches[1] }) Write-Host "Engine bench:" $r