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

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a3fb9a6..887b17d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -39,6 +39,7 @@ 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
+    - git submodule init
     - git pull --recurse-submodules
     - source set_env.sh
     - cd ./nanosoc_tech/fpga/
@@ -62,6 +63,7 @@ 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 
+    - git submodule init
     - git pull --recurse-submodules
     - source set_env.sh
     - cd ./nanosoc_tech/fpga
-- 
GitLab