mirror of https://github.com/VLSIDA/OpenRAM.git
Multiple stages to gitlab-ci. Combine coverage artifacts to generate html coverage.
This commit is contained in:
parent
1659f66070
commit
f1022d0cb0
|
|
@ -3,17 +3,36 @@ before_script:
|
||||||
- export OPENRAM_HOME="`pwd`/compiler"
|
- export OPENRAM_HOME="`pwd`/compiler"
|
||||||
- export OPENRAM_TECH="`pwd`/technology"
|
- export OPENRAM_TECH="`pwd`/technology"
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- test
|
||||||
|
- coverage
|
||||||
|
|
||||||
freepdk45:
|
freepdk45:
|
||||||
|
stage: test
|
||||||
script:
|
script:
|
||||||
- $OPENRAM_HOME/tests/regress.py -t freepdk45
|
- coverage run -p $OPENRAM_HOME/tests/regress.py -t freepdk45
|
||||||
|
|
||||||
scn4m_subm:
|
|
||||||
script:
|
|
||||||
- coverage run $OPENRAM_HOME/tests/regress.py -t scn4m_subm
|
|
||||||
- coverage report -m
|
|
||||||
coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- .coverage
|
- .coverage*
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
|
|
||||||
|
scn4m_subm:
|
||||||
|
stage: test
|
||||||
|
script:
|
||||||
|
- coverage run -p $OPENRAM_HOME/tests/regress.py -t scn4m_subm
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- .coverage*
|
||||||
|
expire_in: 1 week
|
||||||
|
|
||||||
|
coverage:
|
||||||
|
stage: coverage
|
||||||
|
script:
|
||||||
|
- coverage combine
|
||||||
|
- coverage html -d coverage_html
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- coverage_html
|
||||||
|
expire_in: 1 week
|
||||||
|
coverage: '/TOTAL.+ ([0-9]{1,3}%)/'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue