Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
NanoSoC Tech
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SoCLabs
NanoSoC Tech
Commits
ad3c81ab
Commit
ad3c81ab
authored
2 years ago
by
dwn1c21
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml file
parent
3eea13e4
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+24
-24
24 additions, 24 deletions
.gitlab-ci.yml
with
24 additions
and
24 deletions
.gitlab-ci.yml
+
24
−
24
View file @
ad3c81ab
...
@@ -46,29 +46,29 @@ build-job: # This job runs in the build stage, which runs first.
...
@@ -46,29 +46,29 @@ build-job: # This job runs in the build stage, which runs first.
tags
:
tags
:
-
Vivado2021.1
-
Vivado2021.1
unit-test-job
:
# This job runs in the test stage.
#
unit-test-job: # This job runs in the test stage.
stage
:
test
# It only starts when the job in the build stage completes successfully.
#
stage: test # It only starts when the job in the build stage completes successfully.
script
:
#
script:
-
echo "Running unit tests... This will take about 60 seconds."
#
- echo "Running unit tests... This will take about 60 seconds."
-
sleep
60
#
- sleep 60
-
echo "Code coverage is 90%"
#
- echo "Code coverage is 90%"
tags
:
#
tags:
-
FPGA
#
- FPGA
lint-test-job
:
# This job also runs in the test stage.
#
lint-test-job: # This job also runs in the test stage.
stage
:
test
# It can run at the same time as unit-test-job (in parallel).
#
stage: test # It can run at the same time as unit-test-job (in parallel).
script
:
#
script:
-
echo "Linting code... This will take about 10 seconds."
#
- echo "Linting code... This will take about 10 seconds."
-
sleep
10
#
- sleep 10
-
echo "No lint issues found."
#
- echo "No lint issues found."
tags
:
#
tags:
-
FPGA
#
- FPGA
deploy-job
:
# This job runs in the deploy stage.
#deploy-job: # This job runs in the deploy stage.
stage
:
deploy
# It only runs when *both* jobs in the test stage complete successfully.
# stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
environment
:
production
# environment: production
script
:
# script:
-
echo "Deploying application..."
# - echo "Deploying application..."
-
echo "Application successfully deployed."
# - echo "Application successfully deployed."
tags
:
# tags:
-
FPGA
# - FPGA
\ No newline at end of file
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment