Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
Mock Turtle
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Mock Turtle
Commits
5029af4f
Commit
5029af4f
authored
Jan 05, 2023
by
Dimitris Lampridis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: properly detect hdl simulation errors
parent
c79c9807
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
.gitlab-ci.yml
hdl/testbench/.gitlab-ci.yml
+7
-0
No files found.
hdl/testbench/.gitlab-ci.yml
View file @
5029af4f
...
...
@@ -6,6 +6,7 @@ hdl_simulation:
interruptible
:
true
stage
:
build
when
:
manual
allow_failure
:
false
needs
:
[]
tags
:
-
questasim
...
...
@@ -28,6 +29,12 @@ hdl_simulation:
-
hdlmake
-
make
-
vsim -c -do run_ci.do
-
|
if [[ $(cat transcript | tail -1 | grep -c "Errors: 0") = 0 ]]
then
echo -e "\e[31mSimulation errors detected. Aborting...\e[0m"
exit 1
fi
artifacts
:
name
:
"
$SIM_NAME-$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
paths
:
...
...
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