Commit 736d9a2f authored by Peio Rigaux's avatar Peio Rigaux

Fix/same base ci code for mac jobs

parent 5256f68d
Pipeline #8806 passed with stages
in 22 minutes and 1 second
......@@ -11,7 +11,7 @@
- ccache -s
- export OPENSSL_ROOT_DIR=/usr/local/opt/openssl
- export MYSQL_DIR=/usr/local/opt/mysql-client
- ./prepare.py -G "$CMAKE_GENERATOR" -cc $DEFAULT_MACOS_CMAKE_OPTIONS $CMAKE_OPTIONS
- python prepare.py -G "$CMAKE_GENERATOR" -cc $DEFAULT_MACOS_CMAKE_OPTIONS $CMAKE_OPTIONS
- cmake --build WORK/flexisip/cmake -- $ADDITIONAL_BUILD_OPTIONS
- ccache -s
......@@ -47,19 +47,10 @@ job-macosx-ninja:
#################################################
job-macosx-xcode:
stage: build
tags: [ "macosx" ]
allow_failure: true
except:
variables:
- $DEPLOY_RUN
- $DEPLOY_UBUNTU
only:
- schedules
script:
- export OPENSSL_ROOT_DIR=/usr/local/opt/openssl
- export MYSQL_DIR=/usr/local/opt/mysql-client
- python prepare.py -G Xcode -cc $DEFAULT_MACOS_CMAKE_OPTIONS $CMAKE_OPTIONS
- cmake --build WORK/flexisip/cmake -- -IDEBuildOperationMaxNumberOfConcurrentCompileTasks=`sysctl -n hw.ncpu`
variables:
CMAKE_GENERATOR: Xcode
ADDITIONAL_BUILD_OPTIONS: -IDEBuildOperationMaxNumberOfConcurrentCompileTasks=$MAX_NUMBER_TASK_XCODE
extends: .job-macosx
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment