Skip to content
Snippets Groups Projects
Commit 5e37d1da authored by dwn1c21's avatar dwn1c21
Browse files

CI Update paths with environment variable

parent bba65d0c
Branches
Tags
No related merge requests found
......@@ -45,9 +45,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
......@@ -69,9 +69,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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment