]> git.sesse.net Git - stockfish/blob - appveyor.yml
Add AppVeyor integration
[stockfish] / appveyor.yml
1 version: 1.0.{build}
2 clone_depth: 5
3
4 branches:
5   only:
6     - master
7     - appveyor
8
9 # Operating system (build VM template)
10 os: Visual Studio 2015
11
12 platform:
13   - x86
14   - x64
15
16 # Build configuration, i.e. Debug, Release, etc.
17 configuration:
18   - Debug
19   - Release
20
21 # Scripts that are called at very beginning, before repo cloning
22 init:
23   - cmd: cmake --version
24   - cmd: msbuild /version
25
26 # Scripts to run before build
27 before_build:
28   - cmd: cd src
29   - cmd: echo project (Stockfish) >> CMakeLists.txt
30   - cmd: echo add_executable(stockfish benchmark.cpp bitbase.cpp bitboard.cpp endgame.cpp evaluate.cpp >> CMakeLists.txt
31   - cmd: echo main.cpp material.cpp misc.cpp movegen.cpp movepick.cpp pawns.cpp position.cpp psqt.cpp >> CMakeLists.txt
32   - cmd: echo search.cpp thread.cpp timeman.cpp tt.cpp uci.cpp ucioption.cpp syzygy/tbprobe.cpp) >> CMakeLists.txt
33
34 build_script:
35   - cmake -G "Visual Studio 14 2015 Win64" .
36   - cmake --build .