diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f122953c7bf4232520af2508e8acf77d1b1e76b5..3802d385e8cfa2110b5adecbcfb0e5e40c49a87a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 # move to fpga_imp directory and run the fpga build script for pynq z2 - cd ../../nanosoc/Cortex-M0/nanosoc/systems/mcu/fpga_imp/ - - source ./build_fpga_pynq_z2.scr + - if source ./build_fpga_pynq_z2.scr; then echo "Vivado Finished"; fi - FILE=./pynq_export/pz2/pynq/overlays/soclabs/design_1.bit - if test -f "$FILE"; then - echo "Build successful" @@ -68,7 +68,7 @@ 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/ - - source ./build_fpga_pynq_zcu104.scr + - if source ./build_fpga_pynq_zcu104.scr; then echo "Vivado Finished"; fi - FILE=./pynq_export/pz104/pynq/overlays/soclabs/design_1.bit - if test -f "$FILE"; then - echo "Build successful"