mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
AppVeyor: run bench after build
And show resulting bench signature. The run is very slow becuase optimizations are all disabled by default /Od /RTC1 No functional change.
This commit is contained in:
parent
e61f7b1e6d
commit
fdf3a51c68
1 changed files with 21 additions and 12 deletions
33
appveyor.yml
33
appveyor.yml
|
@ -9,28 +9,37 @@ branches:
|
||||||
# Operating system (build VM template)
|
# Operating system (build VM template)
|
||||||
os: Visual Studio 2015
|
os: Visual Studio 2015
|
||||||
|
|
||||||
|
# Build platform, i.e. x86, x64, AnyCPU. This setting is optional.
|
||||||
platform:
|
platform:
|
||||||
- x86
|
- x86
|
||||||
- x64
|
- x64
|
||||||
|
- Any CPU
|
||||||
|
|
||||||
# Build configuration, i.e. Debug, Release, etc.
|
# build Configuration, i.e. Debug, Release, etc.
|
||||||
configuration:
|
configuration: Debug
|
||||||
- Debug
|
|
||||||
- Release
|
matrix:
|
||||||
|
# The build fail immediately once one of the job fails
|
||||||
|
fast_finish: true
|
||||||
|
|
||||||
# Scripts that are called at very beginning, before repo cloning
|
# Scripts that are called at very beginning, before repo cloning
|
||||||
init:
|
init:
|
||||||
- cmd: cmake --version
|
- cmake --version
|
||||||
- cmd: msbuild /version
|
- msbuild /version
|
||||||
|
|
||||||
# Scripts to run before build
|
|
||||||
before_build:
|
before_build:
|
||||||
- cmd: cd src
|
- cd src
|
||||||
- cmd: echo project (Stockfish) >> CMakeLists.txt
|
- echo project (Stockfish) >> CMakeLists.txt
|
||||||
- cmd: echo add_executable(stockfish benchmark.cpp bitbase.cpp bitboard.cpp endgame.cpp evaluate.cpp >> CMakeLists.txt
|
- echo add_executable(stockfish benchmark.cpp bitbase.cpp bitboard.cpp endgame.cpp evaluate.cpp >> CMakeLists.txt
|
||||||
- cmd: echo main.cpp material.cpp misc.cpp movegen.cpp movepick.cpp pawns.cpp position.cpp psqt.cpp >> CMakeLists.txt
|
- echo main.cpp material.cpp misc.cpp movegen.cpp movepick.cpp pawns.cpp position.cpp psqt.cpp >> CMakeLists.txt
|
||||||
- cmd: echo search.cpp thread.cpp timeman.cpp tt.cpp uci.cpp ucioption.cpp syzygy/tbprobe.cpp) >> CMakeLists.txt
|
- echo search.cpp thread.cpp timeman.cpp tt.cpp uci.cpp ucioption.cpp syzygy/tbprobe.cpp) >> CMakeLists.txt
|
||||||
|
- echo set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/src) >> CMakeLists.txt
|
||||||
|
# - echo target_compile_options(stockfish PUBLIC "/Ox") >> CMakeLists.txt
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- cmake -G "Visual Studio 14 2015 Win64" .
|
- cmake -G "Visual Studio 14 2015 Win64" .
|
||||||
- cmake --build .
|
- cmake --build .
|
||||||
|
|
||||||
|
before_test:
|
||||||
|
- cd Debug
|
||||||
|
- stockfish.exe bench > null
|
||||||
|
|
Loading…
Add table
Reference in a new issue