-
Notifications
You must be signed in to change notification settings - Fork 145
/
.travis.yml
64 lines (59 loc) · 1.16 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
language: cpp
cache:
apt: true
directories:
$VERILATOR_ROOT
timeout: 1000
env:
global:
- VERILATOR_ROOT="/home/travis/verilator-4.014/"
# required packages to install
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-7
- g++-7
- gperf
- autoconf
- automake
- autotools-dev
- libmpc-dev
- libmpfr-dev
- libgmp-dev
- gawk
- build-essential
- bison
- flex
- texinfo
- python-pexpect
- libusb-1.0-0-dev
- default-jdk
- zlib1g-dev
- valgrind
before_install:
# setup dependent paths
- export PATH=$VERILATOR_ROOT/bin:$PATH
- export C_INCLUDE_PATH=$VERILATOR_ROOT/include
- export CPLUS_INCLUDE_PATH=$VERILATOR_ROOT/include
- mkdir -p tmp
stages:
- compile
- test
jobs:
include:
- stage: compile
name: compile verilator
script:
- ci/install-verilator.sh
- stage: test
name: test encode
script:
- make
- ./obj_dir/Vecc_encode > /dev/zero
- stage: test
name: test decode
script:
- make
- ./obj_dir/Vecc_decode > /dev/zero