travis: attempt to make 2 build stages for cache
First stage builds riscv-tools, next stage builds verilator
This commit is contained in:
parent
93d423d202
commit
30a3e3ef55
@ -43,13 +43,18 @@ branches:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- stage: prepare cache
|
- stage: prepare cache-riscv-tools
|
||||||
script:
|
script:
|
||||||
- travis_wait 120 make tools verilator -C regression SUITE=none
|
- make tools -C regression SUITE=none
|
||||||
before_install:
|
before_install:
|
||||||
- export CXX=g++-4.8 CC=gcc-4.8
|
- export CXX=g++-4.8 CC=gcc-4.8
|
||||||
before_cache:
|
before_cache:
|
||||||
- ls -t regression/install | tail -n+2 | sed s@^@regression/install/@ | xargs rm -rf
|
- ls -t regression/install | tail -n+2 | sed s@^@regression/install/@ | xargs rm -rf
|
||||||
|
- stage: prepare cache-verilator
|
||||||
|
script:
|
||||||
|
- make verilator -C regression SUITE=none
|
||||||
|
before_install:
|
||||||
|
- export CXX=g++-4.8 CC=gcc-4.8
|
||||||
- &test
|
- &test
|
||||||
stage: Test
|
stage: Test
|
||||||
script:
|
script:
|
||||||
|
Loading…
Reference in New Issue
Block a user