9 # Operating system (build VM template)
10 os: Visual Studio 2015
12 # Build platform, i.e. x86, x64, AnyCPU. This setting is optional.
18 # build Configuration, i.e. Debug, Release, etc.
22 # The build fail immediately once one of the job fails
25 # Scripts that are called at very beginning, before repo cloning
32 - echo project (Stockfish) >> CMakeLists.txt
33 - echo add_executable(stockfish benchmark.cpp bitbase.cpp bitboard.cpp endgame.cpp evaluate.cpp >> CMakeLists.txt
34 - echo main.cpp material.cpp misc.cpp movegen.cpp movepick.cpp pawns.cpp position.cpp psqt.cpp >> CMakeLists.txt
35 - echo search.cpp thread.cpp timeman.cpp tt.cpp uci.cpp ucioption.cpp syzygy/tbprobe.cpp) >> CMakeLists.txt
36 - echo set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/src) >> CMakeLists.txt
37 # - echo target_compile_options(stockfish PUBLIC "/Ox") >> CMakeLists.txt
40 - cmake -G "Visual Studio 14 2015 Win64" .
45 - stockfish.exe bench > null