From f3acf050b5599e3e324edc3b39b62656644bc9f4 Mon Sep 17 00:00:00 2001
From: Amir MOHAMMADI <amir.mohammadi@idiap.ch>
Date: Thu, 21 Oct 2021 20:57:49 +0200
Subject: [PATCH] only unset CI in mac

---
 .gitlab-ci.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ec40c556..8ccb0e59 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,7 +7,6 @@ stages:
 .build_template:
   stage: build
   script:
-    - unset CI
     - python3 build-locally.py $CONFIG
   artifacts:
     expire_in: 1 month
@@ -21,12 +20,16 @@ stages:
 
 .build_template_build_osx_64:
   extends: .build_template
+  before_script:
+    - unset CI
   tags:
     - macos
     - intel
 
 .build_template_osx_arm64:
   extends: .build_template
+  before_script:
+    - unset CI
   tags:
     - macos
     - arm
-- 
GitLab