From 045166c66288158b894a42b8d883f84b1ba35f2d Mon Sep 17 00:00:00 2001
From: dwn1c21 <d.newbrook@soton.ac.uk>
Date: Tue, 4 Jul 2023 18:26:43 +0000
Subject: [PATCH] Update .gitlab-ci.yml file

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1f05533..a3fb9a6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -39,8 +39,8 @@ build-job-Z2:       # This job runs in the build stage, which runs first.
   stage: build
   script:
     # move to fpga_imp directory and run the fpga build script for pynq z2
-    - source set_env.sh
     - git pull --recurse-submodules
+    - source set_env.sh
     - cd ./nanosoc_tech/fpga/
     - make build_fpga FPGA=z2
     - FILE=../imp/fpga/output/pynq_z2/overlays/nanosoc_design.bit 
@@ -62,8 +62,8 @@ build-job-ZCU104:       # This job runs in the build stage, which runs first.
   stage: build
   script:
    # move to fpga_imp directory and run the fpga build script for pynq z2 
-    - source set_env.sh
     - git pull --recurse-submodules
+    - source set_env.sh
     - cd ./nanosoc_tech/fpga
     - make build_fpga FPGA=zcu104
     - FILE=../imp/fpga/output/pynq_zcu104/overlays/nanosoc_design.bit 
-- 
GitLab