Commit fbf5c3a7 authored by Martin Jeřábek's avatar Martin Jeřábek
Browse files

ci: add scheduled sanity test; optimize caches

parent a75c7d28
......@@ -4,8 +4,9 @@ before_script:
build_ip_and_tests:
stage: build
cache: &vunit_cache
paths:
cache:
policy: push
paths: &vunit_cache_paths
- test/vunit_out
- 'test/*.gcda'
- 'test/*.gcno'
......@@ -22,7 +23,9 @@ build_ip_and_tests:
test_ip_unit:
stage: test
cache: *vunit_cache
cache:
policy: pull
paths: *vunit_cache_paths
script:
- cd test
- make test_unit XUNIT=1
......@@ -32,3 +35,17 @@ test_ip_unit:
paths:
- test/code_html
- test/test_unit.xml
test_ip_sanity:
stage: test
cache:
policy: pull
paths: *vunit_cache_paths
only:
- schedules
script:
- cd test
- make test_sanity XUNIT=1
artifacts:
paths:
- test/test_unit.xml
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment