-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
37 lines (30 loc) · 935 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
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 -
- sudo sh -c 'echo deb [arch=amd64] http://repo.radeon.com/rocm/apt/debian/ xenial main > /etc/apt/sources.list.d/rocm.list'
- sudo apt update
- sudo apt install rocm-dkms
before_script:
- docker pull kiritigowda/mivision-test-docker
- docker run -it -d --name mivision --network host kiritigowda/mivision-test-docker bash
- docker cp ../MIVisionX-Classifier mivision:/MIVisionX-Classifier
script:
- docker exec mivision cmake -H/MIVisionX-Classifier -B/_build -DCMAKE_BUILD_TYPE=Release
- docker exec mivision cmake --build /_build
after_success:
notifications:
email:
- kiriti.nageshgowda@amd.com