mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-22 05:07:21 -04:00
Split travis build into stages
This commit is contained in:
parent
90ab062f9d
commit
f378e3be6a
1 changed files with 14 additions and 4 deletions
18
.travis.yml
18
.travis.yml
|
@ -40,14 +40,24 @@ branches:
|
|||
|
||||
before_install:
|
||||
- export CXX=g++-4.8 CC=gcc-4.8
|
||||
- ci/make-tmp.sh
|
||||
- ci/build-riscv-gcc.sh
|
||||
- ci/install-verilator.sh
|
||||
- ci/install-fesvr.sh
|
||||
- ci/build-riscv-tests.sh
|
||||
- export VERILATOR_ROOT=$TRAVIS_BUILD_DIR/tmp/verilator-3.918/
|
||||
script:
|
||||
- make run-asm-tests-verilator verilator=$TRAVIS_BUILD_DIR/tmp/bin/verilator
|
||||
|
||||
stages:
|
||||
- compile
|
||||
- test
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- stage: compile
|
||||
script:
|
||||
- ci/build-riscv-gcc.sh
|
||||
- stage: test
|
||||
script:
|
||||
- ci/build-riscv-tests.sh
|
||||
- make run-asm-tests-verilator verilator=$TRAVIS_BUILD_DIR/tmp/bin/verilator
|
||||
|
||||
# extra time duing long builds
|
||||
install: travis_wait
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue