Skip to content
Snippets Groups Projects
Commit 6543d481 authored by dwn1c21's avatar dwn1c21
Browse files

Update .gitlab-ci.yml file

parent 6f5d24e9
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,7 @@ build-job-Z2: # This job runs in the build stage, which runs first. ...@@ -35,7 +35,7 @@ build-job-Z2: # This job runs in the build stage, which runs first.
- tar -xf PL230-r0p0-02rel2-1.tar.gz - tar -xf PL230-r0p0-02rel2-1.tar.gz
# move to fpga_imp directory and run the fpga build script for pynq z2 # move to fpga_imp directory and run the fpga build script for pynq z2
- cd ../../nanosoc/Cortex-M0/nanosoc/systems/mcu/fpga_imp/ - cd ../../nanosoc/Cortex-M0/nanosoc/systems/mcu/fpga_imp/
- if source ./build_fpga_pynq_z2.scr; then - source ./build_fpga_pynq_z2.scr
- FILE=./pynq_export/pz2/pynq/overlays/soclabs/design_1.bit - FILE=./pynq_export/pz2/pynq/overlays/soclabs/design_1.bit
- if test -f "$FILE"; then - if test -f "$FILE"; then
- echo "Build successful" - echo "Build successful"
...@@ -43,7 +43,6 @@ build-job-Z2: # This job runs in the build stage, which runs first. ...@@ -43,7 +43,6 @@ build-job-Z2: # This job runs in the build stage, which runs first.
- echo "Build failed" - echo "Build failed"
- exit 1 - exit 1
- fi - fi
- fi
# cleanup arm-AAA-ip directory # cleanup arm-AAA-ip directory
- cd ../../../../../../ - cd ../../../../../../
- rm -r arm-AAA-ip - rm -r arm-AAA-ip
...@@ -69,14 +68,13 @@ build-job-ZCU104: # This job runs in the build stage, which runs first. ...@@ -69,14 +68,13 @@ build-job-ZCU104: # This job runs in the build stage, which runs first.
- tar -xf PL230-r0p0-02rel2-1.tar.gz - tar -xf PL230-r0p0-02rel2-1.tar.gz
# move to fpga_imp directory and run the fpga build script for pynq z2 # move to fpga_imp directory and run the fpga build script for pynq z2
- cd ../../nanosoc/Cortex-M0/nanosoc/systems/mcu/fpga_imp/ - cd ../../nanosoc/Cortex-M0/nanosoc/systems/mcu/fpga_imp/
- if source ./build_fpga_pynq_zcu104.scr; then - source ./build_fpga_pynq_zcu104.scr
- FILE=./pynq_export/pz104/pynq/overlays/soclabs/design_1.bit - FILE=./pynq_export/pz104/pynq/overlays/soclabs/design_1.bit
- if test -f "$FILE"; then - if test -f "$FILE"; then
- echo "Build successful" - echo "Build successful"
- else - else
- echo "Build failed" - echo "Build failed"
exit 1 - exit 1
- fi
- fi - fi
# cleanup arm-AAA-ip directory # cleanup arm-AAA-ip directory
- cd ../../../../../../ - cd ../../../../../../
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment