mirror of
https://github.com/verilator/verilator.git
synced 2025-01-01 12:17:35 +00:00
Travis: Setup cron coverage
This commit is contained in:
parent
0b55e205f7
commit
7d0b3b300a
@ -49,6 +49,7 @@ jobs:
|
||||
# 16.04 dist: xenial cron cron
|
||||
# 18.04 dist: bionic cron
|
||||
# 20.04 dist: focal !cron cron
|
||||
# 20.04 coverage cron
|
||||
include:
|
||||
- if: type != cron
|
||||
stage: "Build Verilator"
|
||||
@ -112,6 +113,13 @@ jobs:
|
||||
stage: "Build Verilator"
|
||||
name: "20.04 clang build+test"
|
||||
script: ci/test.sh all
|
||||
# Cron coverage runs
|
||||
- if: type = cron
|
||||
dist: focal
|
||||
compiler: gcc
|
||||
stage: "Build Verilator"
|
||||
name: "Coverage"
|
||||
script: ci/test.sh coverage
|
||||
|
||||
notifications:
|
||||
email:
|
||||
|
@ -12,6 +12,10 @@ set -e
|
||||
export DRIVER_FLAGS='-j 0 --quiet --rerun'
|
||||
|
||||
case $1 in
|
||||
coverage)
|
||||
nodist/code_coverage
|
||||
bash <(curl -s https://codecov.io/bash) -f nodist/obj_dir/coverage/app_total.info
|
||||
;;
|
||||
dist)
|
||||
make -C test_regress SCENARIOS=--dist
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user