forked from catboost/catboost
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
66 lines (50 loc) · 1.74 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
version: '{build}-{branch}'
branches:
only:
- master
skip_tags: true
image:
- Visual Studio 2015
environment:
matrix:
- image: Visual Studio 2017
configuration: Release
arch: 64
target: exe
- image: Visual Studio 2017
configuration: Release
arch: 64
target: whl
- image: Visual Studio 2017
configuration: Release
arch: 64
target: R
clone_folder: c:\projects\catboost
install:
- git submodule update --init --recursive
build_script:
- |
echo Downloading CUDA toolkit 8
appveyor DownloadFile https://developer.nvidia.com/compute/cuda/8.0/prod/local_installers/cuda_8.0.44_windows-exe -FileName cuda_8.0.44_windows.exe
echo Installing CUDA toolkit 8
cuda_8.0.44_windows.exe -s compiler_8.0 cublas_8.0 cublas_dev_8.0 cudart_8.0 curand_8.0 curand_dev_8.0 cusparse_8.0 cusparse_dev_8.0
dir .
dir "%ProgramFiles%"
dir "C:\Program Files"
dir "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA"
dir "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0"
dir "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin"
xcopy "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA" "C:\CUDA" /e /i /h
dir "C:\CUDA"
dir "C:\CUDA\v8.0"
dir "C:\CUDA\v8.0\bin"
dir "C:\CUDA\v8.0\include"
set PATH=C:\CUDA\v8.0\bin;%PATH%
python -m pip install webdavclient
nvcc -V
cd c:\projects\catboost
call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64
if "%target%"=="exe" call ci\appveyor\build_apps.cmd
if "%target%"=="whl" call ci\appveyor\build_whls.cmd
if "%target%"=="R" call ci\appveyor\build_r.cmd