forked from kiritigowda/amdovx-modules
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (31 loc) · 922 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
30
31
32
33
34
35
36
37
38
language: cpp
sudo: required
dist: trusty
os:
- linux
compiler:
- g++
services:
- docker
branches:
- master
- develop
install:
- sudo apt update
- sudo apt --yes install cmake git wget unzip libnuma-dev
- wget -qO - http://repo.radeon.com/rocm/apt/debian/rocm.gpg.key | sudo apt-key add -
- echo 'deb [arch=amd64] http://repo.radeon.com/rocm/apt/debian/ xenial main' | sudo tee /etc/apt/sources.list.d/rocm.list
- sudo apt update
- sudo apt install rocm-dkms
before_script:
- docker pull kiritigowda/mivision
- docker run -it -d --name mivision --network host kiritigowda/mivision bash
- docker cp ../amdovx-modules mivision:/amdovx-modules
script:
- docker exec mivision cmake -H/amdovx-modules -B/_build -DCMAKE_BUILD_TYPE=Release
- docker exec mivision cmake --build /_build
after_success:
notifications:
email: