From ec0976ecccc12ed465f370bc3948932c5e4192b0 Mon Sep 17 00:00:00 2001
From: David Gilbert <david.gilbert@rwth-aachen.de>
Date: Tue, 23 Jan 2024 13:10:17 +0100
Subject: [PATCH] Update .gitlab-ci.yml file

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6809f4b..e53e5dd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -82,6 +82,20 @@ Generate_Project:
             [refactor/plugin_separation@RWTHVRToolkit]='https://git-ce.rwth-aachen.de/vr-vis/VR-Group/unreal-development/plugins/rwth-vr-toolkit.git'
             )"
 
+Generate_Project_Without_Toolkit:
+    rules: 
+      - if: $CI_PIPELINE_SOURCE == "web"
+      - if: $CI_PIPELINE_SOURCE == "schedule"
+      - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
+      - if: $CI_COMMIT_TAG
+      - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
+    extends: .Generate_Project_
+    variables:
+        RUN_SETUP: "false"
+        GEN_DEPENDENCIES: "(
+            [master@UnrealDTrackPlugin]='https://github.com/VRGroupRWTH/UnrealDTrackPlugin.git'
+            )"
+
 
 Build_Windows:
     rules: 
@@ -124,6 +138,28 @@ Build_Linux:
         - job: "Generate_Project"
           artifacts: true
 
+    
+Build_Linux_Without_Toolkit:
+    rules: 
+      - if: $CI_PIPELINE_SOURCE == "web"
+      - if: $CI_PIPELINE_SOURCE == "schedule"
+      - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
+      - if: $CI_COMMIT_TAG
+      - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
+    extends: .Build_Linux_
+    tags:
+        - linux
+        - unreal
+        - docker-executor
+    variables:
+        GIT_STRATEGY: none   
+        GIT_CHECKOUT: "false"
+        # CLIENT_CONFIG: "Shipping"
+        CLIENT_CONFIG: "DebugGame"
+    needs:
+        - job: "Generate_Project_Without_Toolkit"
+          artifacts: true
+
 Deploy_Windows:
     rules: 
       - if: $CI_PIPELINE_SOURCE == "web"
-- 
GitLab