forked from Dilafdo/Multiproc-openCL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
38 lines (34 loc) · 962 Bytes
/
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
os:
- Ubuntu
clone_script:
- cmd: git clone -q --branch=%APPVEYOR_REPO_BRANCH% https://github.com/%APPVEYOR_REPO_NAME%.git %APPVEYOR_BUILD_FOLDER%
- cmd: cd %APPVEYOR_BUILD_FOLDER%
- cmd: git checkout -qf %APPVEYOR_REPO_COMMIT%
- cmd: git submodule update --init --recursive
install:
- sudo apt install -y ocl-icd-opencl-dev
platform:
- x64
configuration:
- Release
- Debug
-
environment:
matrix:
- SETARCH: i686
- SETARCH: x86_64
matrix:
fast_finish: true # set this flag to immediately finish build once one of the jobs fails.
allow_failures:
- platform: x86
configuration: Debug
- platform: x64
configuration: Release
build_script:
# Setup environment:
- cmake -DOPENCL_LIBRARIES="OpenCL" -H. -B_builds -DARCH=%SETARCH%
- cmake --build _builds --config %CONFIGURATION%
test_script:
- cd _builds
- ctest -C %CONFIGURATION% --output-on-failure
build: off