From f1158e8129d947117acee2fac4f906c0faf37eda Mon Sep 17 00:00:00 2001 From: Bret Curtis Date: Sat, 23 Jun 2018 13:50:58 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3ae419c1d..690ef8ef3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -41,10 +41,10 @@ MacOS: - xcode stage: build allow_failure: true - script: - - cores_to_use=$((`nproc`-2)); if (( $cores_to_use < 1 )); then cores_to_use=1; fi - - mkdir build; cd build; cmake -DCMAKE_BUILD_TYPE=MinSizeRel ../ - - make -j$cores_to_use + script: + - CI/before_install.osx.sh + - CI/before_script.osx.sh + - make -j2 - DESTDIR=artifacts make install artifacts: paths: