forked from official-stockfish/Stockfish
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
45 lines (36 loc) · 1.21 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
version: 1.0.{build}
clone_depth: 5
branches:
only:
- master
- appveyor
# Operating system (build VM template)
os: Visual Studio 2015
# Build platform, i.e. x86, x64, AnyCPU. This setting is optional.
platform:
- x86
- x64
- Any CPU
# build Configuration, i.e. Debug, Release, etc.
configuration: Debug
matrix:
# The build fail immediately once one of the job fails
fast_finish: true
# Scripts that are called at very beginning, before repo cloning
init:
- cmake --version
- msbuild /version
before_build:
- cd src
- echo project (Stockfish) >> CMakeLists.txt
- echo add_executable(stockfish benchmark.cpp bitbase.cpp bitboard.cpp endgame.cpp evaluate.cpp >> CMakeLists.txt
- echo main.cpp material.cpp misc.cpp movegen.cpp movepick.cpp pawns.cpp position.cpp psqt.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:
- cmake -G "Visual Studio 14 2015 Win64" .
- cmake --build .
before_test:
- cd Debug
- stockfish.exe bench > null