2018-05-17 12:43:52 -04:00
|
|
|
language: scala
|
|
|
|
|
2019-04-20 07:59:39 -04:00
|
|
|
dist: xenial
|
|
|
|
|
2018-05-17 12:43:52 -04:00
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: never
|
|
|
|
|
|
|
|
scala:
|
2019-04-20 07:59:39 -04:00
|
|
|
- 2.11.12
|
2018-05-17 12:43:52 -04:00
|
|
|
|
|
|
|
sbt_args: -no-colors -J-Xss2m
|
|
|
|
|
2019-04-20 07:59:39 -04:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- git
|
|
|
|
- make
|
|
|
|
- autoconf
|
|
|
|
- g++
|
|
|
|
- flex
|
|
|
|
- bison
|
2018-05-17 12:43:52 -04:00
|
|
|
|
|
|
|
jdk:
|
2019-04-20 07:59:39 -04:00
|
|
|
- openjdk10
|
2018-05-17 12:43:52 -04:00
|
|
|
|
2019-04-20 07:59:39 -04:00
|
|
|
jobs:
|
|
|
|
include:
|
|
|
|
- stage: prepare cache-verilator
|
|
|
|
script:
|
|
|
|
- cp scripts/regression/verilator.mk $HOME/makefile
|
|
|
|
- cd $HOME
|
|
|
|
- make verilator_binary
|
|
|
|
- &test
|
|
|
|
stage: Test
|
2019-04-21 06:50:28 -04:00
|
|
|
name: Dhrystone
|
2019-04-20 07:59:39 -04:00
|
|
|
script:
|
|
|
|
- make regression_dhrystone -C scripts/regression
|
|
|
|
- <<: *test
|
|
|
|
stage: Test
|
2019-04-21 06:50:28 -04:00
|
|
|
name: Baremetal
|
2019-04-20 07:59:39 -04:00
|
|
|
script:
|
|
|
|
- make regression_random_baremetal -C scripts/regression
|
|
|
|
- <<: *test
|
|
|
|
stage: Test
|
2019-04-21 06:50:28 -04:00
|
|
|
name: Machine OS
|
2019-04-20 07:59:39 -04:00
|
|
|
script:
|
2019-04-21 06:50:28 -04:00
|
|
|
- make regression_random_machine_os -C scripts/regression
|
2019-04-21 14:30:58 -04:00
|
|
|
- <<: *test
|
|
|
|
stage: Test
|
|
|
|
name: Machine OS
|
|
|
|
script:
|
|
|
|
- make regression_random_machine_os -C scripts/regression
|
2019-04-20 07:59:39 -04:00
|
|
|
- <<: *test
|
|
|
|
stage: Test
|
2019-04-21 06:50:28 -04:00
|
|
|
name: Mixed
|
2019-04-20 07:59:39 -04:00
|
|
|
script:
|
|
|
|
- make regression_random -C scripts/regression
|
|
|
|
- <<: *test
|
|
|
|
stage: Test
|
2019-04-21 06:50:28 -04:00
|
|
|
name: Linux
|
2019-04-20 07:59:39 -04:00
|
|
|
script:
|
|
|
|
- make regression_random_linux -C scripts/regression
|
|
|
|
- <<: *test
|
|
|
|
stage: Test
|
2019-04-21 06:50:28 -04:00
|
|
|
name: Linux
|
2019-04-20 07:59:39 -04:00
|
|
|
script:
|
|
|
|
- make regression_random_linux -C scripts/regression
|
2018-05-17 12:52:21 -04:00
|
|
|
|
2018-05-17 12:43:52 -04:00
|
|
|
before_install:
|
2018-05-28 03:02:01 -04:00
|
|
|
- cd ..
|
2018-12-08 09:16:17 -05:00
|
|
|
- git clone https://github.com/SpinalHDL/SpinalHDL.git -b dev
|
2018-05-28 14:53:52 -04:00
|
|
|
- cd VexRiscv
|
2019-04-20 07:59:39 -04:00
|
|
|
- export VERILATOR_ROOT=$HOME/verilator
|
|
|
|
- export PATH=$VERILATOR_ROOT/bin:$PATH
|
2018-05-17 12:43:52 -04:00
|
|
|
|
|
|
|
before_cache:
|
2019-04-20 07:59:39 -04:00
|
|
|
- rm -fv $HOME/.ivy2/.sbt.ivy.lock
|
|
|
|
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -print -delete
|
|
|
|
- find $HOME/.sbt -name "*.lock" -print -delete
|
2018-05-17 12:43:52 -04:00
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.ivy2/cache
|
2019-04-20 07:59:39 -04:00
|
|
|
- $HOME/.sbt
|
|
|
|
- $HOME/verilator
|
|
|
|
|