Skip to content

Commit a965a8d

Browse files
authored
Merge pull request #710 from jszuppe/pr_add_appvayor_ci
Add AppVayor CI
2 parents 863371d + f3a2e4c commit a965a8d

File tree

2 files changed

+57
-0
lines changed

2 files changed

+57
-0
lines changed

.appveyor.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# clone directory
2+
clone_folder: C:\boost.compute
3+
4+
# do not build on tags
5+
skip_tags: true
6+
7+
# clone only the top level commit
8+
shallow_clone: true
9+
10+
# branches to build
11+
branches:
12+
# blacklist
13+
except:
14+
- gh-pages
15+
16+
# environment variables
17+
environment:
18+
global:
19+
INTELOCLSDKROOT: C:\Program Files (x86)\Intel\OpenCL SDK\
20+
BOOST_COMPUTE_DEFAULT_PLATFORM: Intel(R) OpenCL
21+
matrix:
22+
- VS_VER: 2015
23+
BOOST_ROOT: C:\Libraries\boost_1_59_0
24+
BOOST_LIBRARYDIR: C:\Libraries\boost_1_59_0\lib64-msvc-14.0
25+
- VS_VER: 2013
26+
BOOST_ROOT: C:\Libraries\boost_1_58_0
27+
BOOST_LIBRARYDIR: C:\Libraries\boost_1_58_0\lib64-msvc-12.0
28+
29+
image: Visual Studio 2015
30+
31+
# build platforms
32+
platform:
33+
- x64
34+
35+
configuration:
36+
- Debug
37+
38+
before_build:
39+
- appveyor DownloadFile "http://registrationcenter-download.intel.com/akdlm/irc_nas/vcp/8539/intel_sdk_for_opencl_setup_6.0.0.1049.exe"
40+
- start /wait .\intel_sdk_for_opencl_setup_6.0.0.1049.exe install --output=output.log --eula=accept
41+
#- type output.log
42+
- appveyor DownloadFile "http://registrationcenter-download.intel.com/akdlm/irc_nas/9022/opencl_runtime_16.1.1_x64_setup.msi"
43+
- start /wait msiexec /i opencl_runtime_16.1.1_x64_setup.msi /qn /l*v msiexec2.log
44+
#- type msiexec2.log
45+
46+
build_script:
47+
- mkdir build && cd build
48+
- if "%VS_VER%" == "2015" cmake -G"Visual Studio 14 2015 Win64" -DBOOST_COMPUTE_BUILD_TESTS=ON -DBOOST_COMPUTE_BUILD_EXAMPLES=ON ..
49+
- if "%VS_VER%" == "2013" cmake -G"Visual Studio 12 2013 Win64" -DBOOST_COMPUTE_BUILD_TESTS=ON -DBOOST_COMPUTE_BUILD_EXAMPLES=ON ..
50+
- cmake --build . --config Debug
51+
52+
test_script:
53+
- .\example\Debug\list_devices.exe
54+
- .\example\Debug\hello_world.exe
55+
- ctest --output-on-failure
56+
- ctest --output-on-failure

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Boost.Compute #
22

33
[![Build Status](https://travis-ci.org/boostorg/compute.svg?branch=master)](https://travis-ci.org/boostorg/compute)
4+
[![Build status](https://ci.appveyor.com/api/projects/status/4s2nvfc97m7w23oi/branch/master?svg=true)](https://ci.appveyor.com/project/jszuppe/compute/branch/master)
45
[![Coverage Status](https://coveralls.io/repos/boostorg/compute/badge.svg?branch=master)](https://coveralls.io/r/boostorg/compute)
56
[![Gitter](https://badges.gitter.im/boostorg/compute.svg)](https://gitter.im/boostorg/compute?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
67

0 commit comments

Comments
 (0)