.gitlab-ci.yml 1.07 KB
Newer Older
incardon's avatar
incardon committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
centos_build:
  stage: build
  tags:
    - centos
  artifacts:
    paths:
      - ./openfpm_data/build/src/mem_map
  script:
    - ./build.sh $CI_PROJECT_DIR $CI_RUNNER_TAGS NO $CI_COMMIT_REF_NAME

centos_run:
  stage: test
  tags:
    - centos
  dependencies:
    - centos_build
  script:
    - ./openfpm_data/build/src/mem_map

mac_build:
  stage: build
  tags:
    - mac
  artifacts:
    paths:
      - ./openfpm_data/build/src/mem_map
  script:
    - ./build.sh $CI_PROJECT_DIR $CI_RUNNER_TAGS NO $CI_COMMIT_REF_NAME

mac_run:
  stage: test
  tags:
    - mac
  dependencies:
    - mac_build
  script:
incardon's avatar
incardon committed
37
    - export DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:/Users/jenkins/openfpm_dependencies/openfpm_data/BOOST/lib" && ./openfpm_data/build/src/mem_map 
incardon's avatar
incardon committed
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57

ubuntu_build:
  stage: build
  tags:
    - ubuntu
  artifacts:
    paths:
      - ./openfpm_data/build/src/mem_map
  script:
    - ./build.sh $CI_PROJECT_DIR $CI_RUNNER_EXECUTABLE_TAGS NO $CI_COMMIT_REF_NAME

ubuntu_run:
  stage: test
  tags:
    - ubuntu
  dependencies:
    - ubuntu_build
  script:
    - ./openfpm_data/build/src/mem_map