X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=appveyor.yml;fp=appveyor.yml;h=97a97b5490d9239a12a346bba1e8f4549a120b6e;hp=0000000000000000000000000000000000000000;hb=e61f7b1e6d0273ef9447efa01e90578adef4613e;hpb=f799610d4bb48bc280ea7f58cd5f78ab21028bf5 diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 00000000..97a97b54 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,36 @@ +version: 1.0.{build} +clone_depth: 5 + +branches: + only: + - master + - appveyor + +# Operating system (build VM template) +os: Visual Studio 2015 + +platform: + - x86 + - x64 + +# Build configuration, i.e. Debug, Release, etc. +configuration: + - Debug + - Release + +# Scripts that are called at very beginning, before repo cloning +init: + - cmd: cmake --version + - cmd: msbuild /version + +# Scripts to run before build +before_build: + - cmd: cd src + - cmd: echo project (Stockfish) >> CMakeLists.txt + - cmd: 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 + - cmd: echo search.cpp thread.cpp timeman.cpp tt.cpp uci.cpp ucioption.cpp syzygy/tbprobe.cpp) >> CMakeLists.txt + +build_script: + - cmake -G "Visual Studio 14 2015 Win64" . + - cmake --build .