Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Accelerator Project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SoCLabs
Accelerator Project
Commits
459521f1
Commit
459521f1
authored
1 year ago
by
dam1n19
Browse files
Options
Downloads
Patches
Plain Diff
Updates CI script from AES Project
parent
82616695
No related branches found
No related tags found
No related merge requests found
Pipeline
#10230
canceled
1 year ago
Stage: compile
Stage: simulate
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+20
-5
20 additions, 5 deletions
.gitlab-ci.yml
nanosoc_tech
+1
-1
1 addition, 1 deletion
nanosoc_tech
with
21 additions
and
6 deletions
.gitlab-ci.yml
+
20
−
5
View file @
459521f1
...
...
@@ -17,6 +17,7 @@
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Getting-Started.gitlab-ci.yml
stages
:
# List of stages for jobs, and their order of execution
-
compile
-
simulate
-
build
-
deploy
...
...
@@ -25,6 +26,20 @@ variables:
GIT_SUBMODULE_STRATEGY
:
recursive
GIT_SUBMODULE_FORCE_HTTPS
:
"
true"
compile-software
:
stage
:
compile
script
:
-
echo "Compilation phase started"
-
git submodule foreach --recursive git submodule init
-
git fetch --recurse-submodules
-
source set_env.sh
-
cd $SOCLABS_NANOSOC_TECH_DIR
-
make compile_all_code
artifacts
:
paths
:
-
./simulate/sim/*/*.hex
tags
:
-
ds5
simulate-hello
:
stage
:
simulate
...
...
@@ -52,9 +67,9 @@ build-job-Z2: # This job runs in the build stage, which runs first.
-
git submodule foreach --recursive git submodule init
-
git fetch --recurse-submodules
-
source set_env.sh
-
cd
./nanosoc_tech
/fpga/
-
cd
$SOCLABS_NANOSOC_TECH_DIR
/fpga/
-
make build_fpga FPGA=z2
-
FILE=
../..
/imp/fpga/output/pynq_z2/overlays/nanosoc_design.bit
-
FILE=
$SOCLABS_DESIGN_ROOT
/imp/fpga/output/pynq_z2/overlays/nanosoc_design.bit
-
if test -f "$FILE"; then
-
echo "Build successful"
-
else
...
...
@@ -76,9 +91,9 @@ build-job-ZCU104: # This job runs in the build stage, which runs first.
-
git submodule foreach --recursive git submodule init
-
git fetch --recurse-submodules
-
source set_env.sh
-
cd
./nanosoc_tech
/fpga
-
cd
$SOCLABS_NANOSOC_TECH_DIR
/fpga
-
make build_fpga FPGA=zcu104
-
FILE=
../..
/imp/fpga/output/pynq_zcu104/overlays/nanosoc_design.bit
-
FILE=
$SOCLABS_DESIGN_ROOT
/imp/fpga/output/pynq_zcu104/overlays/nanosoc_design.bit
-
if test -f "$FILE"; then
-
echo "Build successful"
-
else
...
...
@@ -199,7 +214,7 @@ deploy-job-ZCU104: # This job runs in the deploy stage.
-
screen -r zynq -X stuff "deactivate \n"
-
screen -r zynq -X stuff "exit \n"
# test the screenlog for "Overlay Loaded"
-
cp ./nanosoc
/fpga_imp/CI_verification
/test_bitfile_ZCU104.sh ./
-
cp ./nanosoc
_tech/fpga/ci_tools
/test_bitfile_ZCU104.sh ./
-
chmod +x test_bitfile_ZCU104.sh
-
./test_bitfile_ZCU104.sh
...
...
This diff is collapsed.
Click to expand it.
nanosoc_tech
@
b36f7041
Compare
5c65b985
...
b36f7041
Subproject commit
5c65b9856a4025b2ddc57fffaf76297ce9d19b67
Subproject commit
b36f7041c7c96e7af7ed10647a667ee319f440ce
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