From 3efbda45e630e42556a2ed21d92ffa9c37d40091 Mon Sep 17 00:00:00 2001
From: Dan Vonk <daniel.vonk@tum.de>
Date: Wed, 3 Apr 2024 20:18:56 +0200
Subject: [PATCH] Reduce cores used when compiling CI

Complilation seemed to be getting killed by the OOM manager
---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index da8b959..e937c11 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -27,7 +27,7 @@ build-job:       # This job runs in the build stage, which runs first.
   script:
     - cmake --preset=ci .
     - cd /builds/DAPHNE4NFDI/build
-    - ninja
+    - ninja -j2
 
 unit-test-job:   # This job runs in the test stage.
   stage: test    # It only starts when the job in the build stage completes successfully.
-- 
GitLab