Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CTU CAN FD IP Core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
14
Issues
14
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
canbus
CTU CAN FD IP Core
Commits
6ff90c0d
Commit
6ff90c0d
authored
Jan 29, 2019
by
Martin Jeřábek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: add check for vivado's component.xml
Closes
#252
parent
1998fd4c
Pipeline
#6113
passed with stages
in 13 minutes and 21 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
.gitlab-ci.yml
.gitlab-ci.yml
+17
-0
No files found.
.gitlab-ci.yml
View file @
6ff90c0d
...
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment