forked from Ttl/leela-zero
-
Notifications
You must be signed in to change notification settings - Fork 8
/
appveyor.yml
50 lines (48 loc) · 1.12 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
46
47
48
49
50
version: '{build}'
image:
- Visual Studio 2015
- Visual Studio 2017
configuration: Release
platform: x64
matrix:
fast_finish: true
environment:
matrix:
- cmake_build: 1
- cmake_build: 1
features: USE_CPU_ONLY
run_tests: 1
- cmake_build: 1
features: USE_CPU_ONLY USE_BLAS
run_tests: 1
- msbuild: 1
skip_commits:
files:
- '**/*.md'
- '**/.gitignore'
- scripts/
- training/
- AUTHORS
- COPYING
for:
- matrix:
only:
- image: Visual Studio 2015
install:
- cmd: set MSVCDIR=msvc\VS2015
- cmd: echo %MSVCDIR%
- cmd: nuget restore %MSVCDIR% -PackagesDirectory msvc\packages
- matrix:
only:
- image: Visual Studio 2017
install:
- cmd: set MSVCDIR=msvc\VS2017
- cmd: echo %MSVCDIR%
- cmd: nuget restore %MSVCDIR% -PackagesDirectory msvc\packages
build_script:
- cmd: if "%cmake_build%"=="1" %MSVCDIR%\cmake_build.bat
- cmd: if "%msbuild%"=="1" git submodule update --init --recursive
- cmd: if "%msbuild%"=="1" msbuild /t:build %MSVCDIR%\leela-zero.vcxproj
test_script:
- cmd: if "%run_tests%"=="1" cd build && Release\tests.exe
cache: msvc\packages -> appveyor.yml