forked from arrayfire/clFFT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (36 loc) · 1 KB
/
.travis.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
language: cpp
compiler:
- gcc
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq fglrx opencl-headers libboost-program-options-dev libfftw3-dev libgtest-dev
# Uncomment below to help verify the installs above work
# - ls -la /usr/lib/libboost*
# - ls -la /usr/include/boost
# - ls -la /usr/src/gtest
install:
- mkdir -p bin/gTest
- cd bin/gTest
- cmake -DCMAKE_BUILD_TYPE=Release /usr/src/gtest
- make
- sudo mv libg* /usr/lib
before_script:
- cd ${TRAVIS_BUILD_DIR}
- mkdir -p bin/clFFT
- cd bin/clFFT
- cmake -DBoost_NO_SYSTEM_PATHS=OFF ../../src
script:
- make install
# - ls -Rla package
# Run a simple test to validate that the build works; CPU device in a VM
- cd package/bin
- export LD_LIBRARY_PATH=${TRAVIS_BUILD_DIR}/bin/clFFT/package/lib64:${LD_LIBRARY_PATH}
- ./Client -i
after_success:
- cd ${TRAVIS_BUILD_DIR}/bin/clFFT
- make package
notifications:
email:
on_success: change
on_failure: always