2016-05-25 20:21:06 +02:00
|
|
|
git:
|
|
|
|
submodules: false
|
2015-08-25 22:29:20 +02:00
|
|
|
language: scala
|
2017-02-09 22:59:09 +01:00
|
|
|
# run on new infrastructure
|
|
|
|
sudo: false
|
|
|
|
cache:
|
|
|
|
apt: true
|
|
|
|
directories:
|
|
|
|
$HOME/.ivy2
|
|
|
|
regression/install
|
|
|
|
emulator/verilator
|
|
|
|
|
|
|
|
# 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
|
2017-03-25 04:59:33 +01:00
|
|
|
- device-tree-compiler
|
2017-05-12 06:04:33 +02:00
|
|
|
- libusb-1.0-0-dev
|
2015-08-25 22:29:20 +02:00
|
|
|
|
|
|
|
|
2015-09-09 00:13:38 +02:00
|
|
|
# blacklist private branches
|
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- hwacha
|
|
|
|
- boom
|
2016-10-15 01:38:10 +02:00
|
|
|
- /^hurricane.*$/
|
2015-09-09 00:13:38 +02:00
|
|
|
|
2017-05-17 20:58:09 +02:00
|
|
|
jobs:
|
|
|
|
include:
|
2017-05-17 21:24:41 +02:00
|
|
|
- stage: prepare cache
|
2017-05-17 21:13:31 +02:00
|
|
|
script:
|
2017-05-17 20:58:09 +02:00
|
|
|
- make tools verilator -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
|
2017-05-17 23:41:04 +02:00
|
|
|
- &test
|
|
|
|
stage: Test
|
2017-05-17 21:31:13 +02:00
|
|
|
script:
|
2017-05-19 03:46:29 +02:00
|
|
|
- make emulator-ndebug -C regression SUITE=RocketSuiteA JVM_MEMORY=3G
|
|
|
|
- travis_wait 30 make emulator-regression-tests -C regression SUITE=RocketSuiteA JVM_MEMORY=3G
|
2017-05-17 23:41:04 +02:00
|
|
|
- <<: *test
|
2017-05-19 03:46:29 +02:00
|
|
|
script:
|
|
|
|
- make emulator-ndebug -C regression SUITE=RocketSuiteB JVM_MEMORY=3G
|
|
|
|
- travis_wait 30 make emulator-regression-tests -C regression SUITE=RocketSuiteB JVM_MEMORY=3G
|
2017-05-17 23:41:04 +02:00
|
|
|
- <<: *test
|
2017-05-19 03:46:29 +02:00
|
|
|
script:
|
|
|
|
- make emulator-ndebug -C regression SUITE=RocketSuiteC JVM_MEMORY=3G
|
|
|
|
- travis_wait 30 make emulator-regression-tests -C regression SUITE=RocketSuiteC JVM_MEMORY=3G
|
2017-05-17 23:41:04 +02:00
|
|
|
- <<: *test
|
2017-05-19 03:46:29 +02:00
|
|
|
script:
|
|
|
|
- make emulator-ndebug -C regression SUITE=GroundtestSuite JVM_MEMORY=3G
|
|
|
|
- travis_wait 30 make emulator-regression-tests -C regression SUITE=GroundtestSuite JVM_MEMORY=3G
|
2017-05-17 23:41:04 +02:00
|
|
|
- <<: *test
|
2017-05-19 03:46:29 +02:00
|
|
|
script:
|
|
|
|
- make emulator-ndebug -C regression SUITE=UnittestSuite JVM_MEMORY=3G
|
|
|
|
- travis_wait 30 make emulator-regression-tests -C regression SUITE=UnittestSuite JVM_MEMORY=3G
|
2017-02-09 22:59:09 +01:00
|
|
|
|