Commit 6ff90c0d authored by Martin Jeřábek's avatar Martin Jeřábek

ci: add check for vivado's component.xml

Closes #252
parent 1998fd4c
Pipeline #6113 passed with stages
in 13 minutes and 21 seconds
......@@ -5,6 +5,23 @@ before_script:
- export LANG=C.UTF-8
- export PYTHONUNBUFFERED=1
stages:
- precheck
- build
- test
- deploy
check_component:
stage: precheck
script:
- mv src/component.xml src/component.xml-orig
- scripts/gen_vivado_component.py
- diff -u src/component.xml-orig src/component.xml || (echo "Vivado component file is not up-to-date. Either run scripts/gen_vivado_component.py or download the file from this job's artifacts."; exit 1)
artifacts:
expire_in: 1 week
paths:
- src/component.xml
build_ip_and_tests:
stage: build
artifacts:
......
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