forked from facebookarchive/caffe2
-
Notifications
You must be signed in to change notification settings - Fork 41
/
appveyor.yml
47 lines (38 loc) · 1.46 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
version: '{build}'
clone_folder: c:\projects\caffe2
environment:
matrix:
- USE_CUDA: OFF
CMAKE_BUILD_TYPE: Release
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
# Building CUDA with Visual Studio 2017 is yet to be supported by
# NVidia, so we canot enable it right now.
#- USE_CUDA: ON
# CMAKE_BUILD_TYPE: Release
# APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
# Building CUDA currently causes a timeout in appveyor. In the interest
# of properly monitoring the rest, we will disable cuda contbuild for now.
#- USE_CUDA: ON
# CMAKE_BUILD_TYPE: Release
# APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- USE_CUDA: OFF
CMAKE_BUILD_TYPE: Release
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
# Debug build is not a top priority for us right now, so in the
# interest of contbuild time, we disable it.
#- USE_CUDA: OFF
# CMAKE_BUILD_TYPE: Debug
# APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
# Currently, CUDA + Debug does not work due to an error of using
# std::_Debug_lt in device code. Not sure where this comes from yet,
# but it is probably safe to assume that very few are going to build
# debug mode with CUDA and Windows.
#- USE_CUDA: ON
# CMAKE_BUILD_TYPE: Debug
install:
- cmd: c:\projects\caffe2\scripts\appveyor\install.bat
build_script:
- cmd: >-
cd c:\projects\caffe2
git submodule update --init
call scripts\build_windows.bat