mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Stabilize AppVeyor CI
After a helpful suggestion from AppVeyor support staff, moving the Stockfish execution from ps to cmd seems to work. Alternative to PR #1624 tested in PR #1637. No functional change.
This commit is contained in:
parent
b939788f9d
commit
9597ad8cab
1 changed files with 1 additions and 1 deletions
|
@ -61,9 +61,9 @@ build_script:
|
||||||
|
|
||||||
before_test:
|
before_test:
|
||||||
- cd src/%CONFIGURATION%
|
- cd src/%CONFIGURATION%
|
||||||
|
- stockfish bench 2> out.txt >NUL
|
||||||
- ps: |
|
- ps: |
|
||||||
# Verify bench number
|
# Verify bench number
|
||||||
./stockfish bench 2> out.txt 1> null
|
|
||||||
$s = (gc "./out.txt" | out-string)
|
$s = (gc "./out.txt" | out-string)
|
||||||
$r = ($s -match 'Nodes searched \D+(\d+)' | % { $matches[1] })
|
$r = ($s -match 'Nodes searched \D+(\d+)' | % { $matches[1] })
|
||||||
Write-Host "Engine bench:" $r
|
Write-Host "Engine bench:" $r
|
||||||
|
|
Loading…
Add table
Reference in a new issue