From 6543d481b9b6c7a6810d9770f00011f6236ee0dd Mon Sep 17 00:00:00 2001 From: dwn1c21 <d.newbrook@soton.ac.uk> Date: Thu, 27 Apr 2023 07:48:50 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 24173a6..f122953 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,14 +35,13 @@ build-job-Z2: # This job runs in the build stage, which runs first. - tar -xf PL230-r0p0-02rel2-1.tar.gz # move to fpga_imp directory and run the fpga build script for pynq z2 - cd ../../nanosoc/Cortex-M0/nanosoc/systems/mcu/fpga_imp/ - - if source ./build_fpga_pynq_z2.scr; then - - FILE=./pynq_export/pz2/pynq/overlays/soclabs/design_1.bit - - if test -f "$FILE"; then - - echo "Build successful" - - else - - echo "Build failed" - - exit 1 - - fi + - source ./build_fpga_pynq_z2.scr + - FILE=./pynq_export/pz2/pynq/overlays/soclabs/design_1.bit + - if test -f "$FILE"; then + - echo "Build successful" + - else + - echo "Build failed" + - exit 1 - fi # cleanup arm-AAA-ip directory - cd ../../../../../../ @@ -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 # move to fpga_imp directory and run the fpga build script for pynq z2 - cd ../../nanosoc/Cortex-M0/nanosoc/systems/mcu/fpga_imp/ - - if source ./build_fpga_pynq_zcu104.scr; then - - FILE=./pynq_export/pz104/pynq/overlays/soclabs/design_1.bit - - if test -f "$FILE"; then - - echo "Build successful" - - else - - echo "Build failed" - exit 1 - - fi + - source ./build_fpga_pynq_zcu104.scr + - FILE=./pynq_export/pz104/pynq/overlays/soclabs/design_1.bit + - if test -f "$FILE"; then + - echo "Build successful" + - else + - echo "Build failed" + - exit 1 - fi # cleanup arm-AAA-ip directory - cd ../../../../../../ -- GitLab