Skip to content
Snippets Groups Projects
Commit 9075f0bb authored by Andrea Michelotti's avatar Andrea Michelotti
Browse files

removed mac compilation

parent dc19c767
No related branches found
No related tags found
No related merge requests found
Pipeline #27239 failed
...@@ -36,50 +36,50 @@ before_script: ...@@ -36,50 +36,50 @@ before_script:
- rm -rf chaosframework - rm -rf chaosframework
- mkdir -p $INSTALL_DIR - mkdir -p $INSTALL_DIR
macosx_x86_64: # macosx_x86_64:
tags: # tags:
- macosx # - macosx
stage: build # stage: build
services: # services:
- name: couchbase/server:community-5.0.1 # - name: couchbase/server:community-5.0.1
alias: couchbase # alias: couchbase
- name: mongo:3.6 # - name: mongo:3.6
alias: mongo # alias: mongo
script: # script:
- export CHAOS_LIVE_SERVERS=localhost # - export CHAOS_LIVE_SERVERS=localhost
- export CHAOS_DB_SERVERS=localhost # - export CHAOS_DB_SERVERS=localhost
- curl http://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo # - curl http://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
- chmod +x ~/bin/repo # - chmod +x ~/bin/repo
- ~/bin/repo init -q --no-clone-bundle -u git@baltig.infn.it:chaos-lnf-control/chaos_repo_bundle.git -b $CI_COMMIT_REF_NAME # - ~/bin/repo init -q --no-clone-bundle -u git@baltig.infn.it:chaos-lnf-control/chaos_repo_bundle.git -b $CI_COMMIT_REF_NAME
- mkdir chaos-osx10-distrib # - mkdir chaos-osx10-distrib
- ~/bin/repo sync # - ~/bin/repo sync
- if [ "$TEST_BRANCH" != "$CI_COMMIT_REF_NAME" ]; then ./chaosframework/tools/chaos_git.sh -c $TEST_BRANCH;fi # - if [ "$TEST_BRANCH" != "$CI_COMMIT_REF_NAME" ]; then ./chaosframework/tools/chaos_git.sh -c $TEST_BRANCH;fi
- ./tools/dbinit.sh localhost localhost;sleep 5;./tools/dbinit.sh localhost localhost;sleep 5 # - ./tools/dbinit.sh localhost localhost;sleep 5;./tools/dbinit.sh localhost localhost;sleep 5
- cd chaosframework;export CHAOS_LIB_HASH=`git log -n 1 --pretty="%h"`;export CHAOS_LAST_TAG=`git describe --abbrev=0`;cd -; # - cd chaosframework;export CHAOS_LIB_HASH=`git log -n 1 --pretty="%h"`;export CHAOS_LAST_TAG=`git describe --abbrev=0`;cd -;
- cd html/chaos_dashboard/;./tag.sh $CI_COMMIT_REF_NAME;cd - # - cd html/chaos_dashboard/;./tag.sh $CI_COMMIT_REF_NAME;cd -
- cmake -DCHAOS_ARCHITECTURE_TEST=ON -DCHAOS_VME=OFF -DCHAOS_VERSION_MAJOR="$CI_COMMIT_REF_NAME.$CHAOS_LIB_HASH ($CHAOS_LAST_TAG)" -DCHAOS_VERSION_MINOR="$CI_JOB_STAGE.$CI_COMMIT_SHA" -DCHAOS_WAN=ON . -DCHAOS_BUILD_ID=${CI_PIPELINE_ID} -DCMAKE_INSTALL_PREFIX=$PWD/chaos-osx10-distrib # - cmake -DCHAOS_ARCHITECTURE_TEST=ON -DCHAOS_VME=OFF -DCHAOS_VERSION_MAJOR="$CI_COMMIT_REF_NAME.$CHAOS_LIB_HASH ($CHAOS_LAST_TAG)" -DCHAOS_VERSION_MINOR="$CI_JOB_STAGE.$CI_COMMIT_SHA" -DCHAOS_WAN=ON . -DCHAOS_BUILD_ID=${CI_PIPELINE_ID} -DCMAKE_INSTALL_PREFIX=$PWD/chaos-osx10-distrib
- make -j 8 install # - make -j 8 install
- export CHAOS_LIVE_SERVERS=localhost;export CHAOS_DB_SERVERS=localhost # - export CHAOS_LIVE_SERVERS=localhost;export CHAOS_DB_SERVERS=localhost
- cd $PWD/chaos-osx10-distrib # - cd $PWD/chaos-osx10-distrib
- source chaos_env.sh # - source chaos_env.sh
- ./tools/dbinit.sh localhost localhost;sleep 5;./tools/dbinit.sh localhost localhost # - ./tools/dbinit.sh localhost localhost;sleep 5;./tools/dbinit.sh localhost localhost
- ./tools/chaos_test.sh -k . # - ./tools/chaos_test.sh -k .
- ./tools/chaos_services.sh stop # - ./tools/chaos_services.sh stop
- tar cfz chaos-osx10-distrib.tar.gz chaos-osx10-distrib # - tar cfz chaos-osx10-distrib.tar.gz chaos-osx10-distrib
allow_failure: true # allow_failure: true
artifacts: # artifacts:
name: "chaos-osx10-distrib.tar.gz" # name: "chaos-osx10-distrib.tar.gz"
paths: # paths:
- ./*.tar.gz # - ./*.tar.gz
expire_in: 1 day # expire_in: 1 day
when: always # when: always
only: # only:
variables: # variables:
- $BUILD_DISTRIBUTION == "macosx_x86_64" # - $BUILD_DISTRIBUTION == "macosx_x86_64"
- $BUILD_DISTRIBUTION == null # - $BUILD_DISTRIBUTION == null
build_i686_static_linux26: build_i686_static_linux26:
stage: build stage: build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment