From 90758eb7d8cf70c75d8f6ce6a5c422b37d28ba47 Mon Sep 17 00:00:00 2001
From: Allan Blanchard <allan.blanchard@cea.fr>
Date: Thu, 15 Sep 2022 13:32:44 +0200
Subject: [PATCH] [ci] start the shell-checkers during prepare

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1755056ce36..fdb6e4552e5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -76,6 +76,14 @@ check-release:
     variables:
       - $RELEASE == "yes"
 
+# Observed: when several shell with same dependencies are started, deadlock may
+#           occur when building these dependencies. We build these dependencies
+#           before running the rest of the pipeline to avoid that.
+prepare-shell-checkers:
+  stage: prepare
+  script:
+    - ./nix/shell-checkers.sh "true"
+
 ################################################################################
 ### BUILD
 
-- 
GitLab