forked from rajatbh21/rocket-chip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
106 lines (99 loc) · 2.26 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
git:
submodules: false
language: scala
sudo: false
cache:
apt: true
directories:
$HOME/.cache/coursier
$HOME/.sbt
regression/install
emulator/verilator
dist: xenial
# packages needed to build riscv-tools
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
- gperf
- autoconf
- automake
- autotools-dev
- libmpc-dev
- libmpfr-dev
- libgmp-dev
- gawk
- build-essential
- bison
- flex
- texinfo
- device-tree-compiler
- libusb-1.0-0-dev
- python3-pexpect
- libre2-dev
# blacklist private branches
branches:
except:
- hwacha
- boom
- /^hurricane.*$/
# These branches are the only ones that
# will build when "build branch updates"
# is set in settings (branches which PR against
# them are still built). With this set,
# the above blacklist is not useful.
# Adding this allows us to keep "Build Branch Updates"
# set to 'ON'.
branches:
only:
- master
jobs:
include:
- stage: check wit
script:
- ci-tests/check_submodules
- stage: prepare cache-riscv-tools
script:
- travis_wait 120 make tools -C regression SUITE=none
before_install:
- export CXX=g++-4.8 CC=gcc-4.8
before_cache:
- ls -t regression/install | tail -n+2 | sed s@^@regression/install/@ | xargs rm -rf
- stage: prepare cache-verilator
script:
- travis_wait 120 make verilator -C regression SUITE=none
before_install:
- export CXX=g++-4.8 CC=gcc-4.8
- &test
stage: Test
script:
- ./regression/run-test-bucket 1
- <<: *test
script:
- ./regression/run-test-bucket 2
- <<: *test
script:
- ./regression/run-test-bucket 3
- <<: *test
script:
- ./regression/run-test-bucket 4
- <<: *test
script:
- ./regression/run-test-bucket 5
- <<: *test
script:
- ./regression/run-test-bucket 6
- <<: *test
script:
- ./regression/run-test-bucket 7
- <<: *test
name: check wake compilation
script:
- ci-tests/wake_scala_compilation
- <<: *test*
name: Scala tests
script:
- ./regression/run-test-bucket 8