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.*$/
|
2017-06-29 08:10:00 +02:00
|
|
|
|
|
|
|
# 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
|
2015-09-09 00:13:38 +02:00
|
|
|
|
2017-05-17 20:58:09 +02:00
|
|
|
jobs:
|
|
|
|
include:
|
2017-06-16 06:31:15 +02:00
|
|
|
- stage: prepare cache-riscv-tools
|
2017-05-17 21:13:31 +02:00
|
|
|
script:
|
2017-06-16 08:04:17 +02:00
|
|
|
- travis_wait 120 make tools -C regression SUITE=none
|
2017-05-17 20:58:09 +02:00
|
|
|
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-06-16 06:31:15 +02:00
|
|
|
- stage: prepare cache-verilator
|
|
|
|
script:
|
2017-06-16 08:04:17 +02:00
|
|
|
- travis_wait 120 make verilator -C regression SUITE=none
|
2017-06-16 06:31:15 +02:00
|
|
|
before_install:
|
|
|
|
- export CXX=g++-4.8 CC=gcc-4.8
|
2017-05-17 23:41:04 +02:00
|
|
|
- &test
|
|
|
|
stage: Test
|
2017-11-03 16:38:18 +01:00
|
|
|
script:
|
|
|
|
- travis_wait 80 make emulator-ndebug -C regression SUITE=JtagDtmSuite JVM_MEMORY=3G
|
|
|
|
- travis_wait 80 make emulator-jtag-dtm-tests-32 -C regression SUITE=JtagDtmSuite JVM_MEMORY=3G
|
|
|
|
- travis_wait 80 make emulator-jtag-dtm-tests-64 -C regression SUITE=JtagDtmSuite JVM_MEMORY=3G
|
|
|
|
- <<: *test
|
2017-05-17 21:31:13 +02:00
|
|
|
script:
|
2017-06-13 23:24:40 +02:00
|
|
|
- travis_wait 80 make emulator-ndebug -C regression SUITE=UnittestSuite JVM_MEMORY=3G
|
|
|
|
- travis_wait 80 make emulator-regression-tests -C regression SUITE=UnittestSuite JVM_MEMORY=3G
|
2017-05-17 23:41:04 +02:00
|
|
|
- <<: *test
|
2017-05-19 03:46:29 +02:00
|
|
|
script:
|
2017-06-13 23:24:40 +02:00
|
|
|
- travis_wait 80 make emulator-ndebug -C regression SUITE=RocketSuiteC JVM_MEMORY=3G
|
|
|
|
- travis_wait 80 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:
|
2017-06-13 23:24:40 +02:00
|
|
|
- travis_wait 80 make emulator-ndebug -C regression SUITE=RocketSuiteB JVM_MEMORY=3G
|
|
|
|
- travis_wait 80 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:
|
2017-06-13 23:24:40 +02:00
|
|
|
- travis_wait 80 make emulator-ndebug -C regression SUITE=RocketSuiteA JVM_MEMORY=3G
|
2017-11-03 16:38:18 +01:00
|
|
|
- travis_wait 80 make emulator-regression-tests -C regression SUITE=RocketSuiteA JVM_MEMORY=3G
|