forked from schrodinger/gpusimilarity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (24 loc) · 768 Bytes
/
.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
dist: xenial
language: cpp
before_script:
- sudo wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_9.0.176-1_amd64.deb
- sudo dpkg -i cuda-repo-ubuntu1604_9.0.176-1_amd64.deb
- sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub
- sudo apt-get update
- sudo apt-get install cuda=9.0.176-1
- git clone https://github.com/torcolvin/gpusimilarity.git
- mkdir gpusimilarity/build
script:
- mkdir build
- cd build
- export PATH=/usr/local/cuda-9.0/bin${PATH:+:${PATH}}
- cmake ..
- make
- cmake -E env SKIP_CUDA=1 ctest
addons:
apt:
packages:
- cmake
- cmake-data
- libboost-all-dev
- qtbase5-dev