From 218869c250bd8537c9d82bbe3638470ea27935e9 Mon Sep 17 00:00:00 2001
From: dwn1c21 <d.newbrook@soton.ac.uk>
Date: Thu, 27 Apr 2023 09:57:37 +0000
Subject: [PATCH] Update .gitlab-ci.yml file copied from main CI/CD

---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f122953..3802d38 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"
-- 
GitLab