2015-08-25 22:29:20 +02:00
|
|
|
language: scala
|
|
|
|
# run on new infrastructure
|
|
|
|
sudo: false
|
2016-02-23 02:41:01 +01:00
|
|
|
cache:
|
|
|
|
apt: true
|
|
|
|
directories:
|
|
|
|
$HOME/.ivy2
|
|
|
|
regression/install
|
2016-02-24 01:47:48 +01:00
|
|
|
chisel/target
|
|
|
|
context-dependent-environments/target
|
|
|
|
groundtest/target
|
|
|
|
hardfloat/target
|
|
|
|
junctions/target
|
|
|
|
project/project/target
|
|
|
|
project/target
|
|
|
|
rocket/target
|
|
|
|
target
|
|
|
|
uncore/target
|
|
|
|
zscale/target
|
2016-02-23 17:44:15 +01:00
|
|
|
|
2015-08-25 22:29:20 +02:00
|
|
|
# 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
|
|
|
|
|
|
|
|
env:
|
2015-11-28 16:17:49 +01:00
|
|
|
matrix:
|
2016-02-24 01:56:13 +01:00
|
|
|
- CONFIG=DefaultConfig
|
2016-03-28 22:25:44 +02:00
|
|
|
- CONFIG=DefaultL2Config
|
2016-02-23 02:29:07 +01:00
|
|
|
- CONFIG=RoccExampleConfig
|
2016-03-28 22:25:44 +02:00
|
|
|
- CONFIG=DualCoreConfig
|
2016-02-23 02:29:07 +01:00
|
|
|
- CONFIG=MemtestConfig
|
|
|
|
- CONFIG=MemtestL2Config
|
|
|
|
- CONFIG=BroadcastRegressionTestConfig
|
|
|
|
- CONFIG=CacheRegressionTestConfig
|
2016-02-24 01:56:13 +01:00
|
|
|
- CONFIG=UnitTestConfig
|
2016-02-29 23:49:18 +01:00
|
|
|
- CONFIG=SplitL2MetadataTestConfig
|
2015-08-25 22:29:20 +02:00
|
|
|
|
2015-09-09 00:13:38 +02:00
|
|
|
# blacklist private branches
|
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- hwacha
|
|
|
|
- boom
|
|
|
|
- hurricane
|
|
|
|
|
2015-08-25 22:29:20 +02:00
|
|
|
before_install:
|
|
|
|
- rm riscv-tools/.travis.yml
|
|
|
|
- export CXX=g++-4.8 CC=gcc-4.8
|
|
|
|
|
|
|
|
script:
|
2016-03-28 22:26:04 +02:00
|
|
|
- make vsim-verilog -C regression CONFIG=$CONFIG TORTURE_CONFIG=default
|
2016-02-23 02:29:07 +01:00
|
|
|
- make fsim-verilog -C regression CONFIG=$CONFIG TORTURE_CONFIG=default
|
|
|
|
- make emulator-ndebug -C regression CONFIG=$CONFIG TORTURE_CONFIG=default
|
|
|
|
- make emulator-asm-tests -C regression CONFIG=$CONFIG TORTURE_CONFIG=default
|
|
|
|
- make emulator-bmark-tests -C regression CONFIG=$CONFIG TORTURE_CONFIG=default -j1
|
|
|
|
|
|
|
|
before_cache:
|
|
|
|
- ls -tr regression/install | tail -n+2 | sed s@^@regression/install/@ | xargs rm -rf
|