Commit e82394f3 authored by Antoine Regimbeau's avatar Antoine Regimbeau
Browse files

Cleaning yml

No related merge requests found
Showing with 5 additions and 20 deletions
+5 -20
...@@ -106,7 +106,7 @@ ubuntu-superbuild-build: ...@@ -106,7 +106,7 @@ ubuntu-superbuild-build:
dependencies: dependencies:
- ubuntu-superbuild-prepare - ubuntu-superbuild-prepare
## Centos superbuild ## CentOS superbuild
centos-superbuild-prepare: centos-superbuild-prepare:
extends: .common-prepare extends: .common-prepare
image: $BUILD_IMAGE_REGISTRY/otb-centos-superbuild-base:6.6 image: $BUILD_IMAGE_REGISTRY/otb-centos-superbuild-base:6.6
...@@ -122,41 +122,26 @@ centos-superbuild-build: ...@@ -122,41 +122,26 @@ centos-superbuild-build:
dependencies: dependencies:
- centos-superbuild-prepare - centos-superbuild-prepare
## MacOS superbuild
macos-superbuild-prepare: macos-superbuild-prepare:
tags: tags:
- macos - macos
only: [merge_requests, branches] only: [merge_requests, branches]
extends: .common-prepare extends: .common-prepare
stage: prepare
before_script: before_script:
# Provision efficiently the local LFS cache before checkout # No need to install lfs as this machine is persistent
- git lfs fetch origin $CI_COMMIT_SHA
# Checkout the expected branch # Checkout the expected branch
- git checkout -f -q $CI_COMMIT_SHA - git checkout -f -q $CI_COMMIT_SHA
script: script:
- ctest -VV -S CI/prepare_superbuild.cmake -DIMAGE_NAME:string=otb-macos-superbuild - ctest -VV -S CI/prepare_superbuild.cmake -DIMAGE_NAME:string=otb-macos-superbuild
artifacts:
expire_in: 24 hrs
paths:
# This recovers logs from superbuild build
- build/*/*/*/*.log
- sb_branch.txt
macos-superbuild-build: macos-superbuild-build:
tags: tags:
- macos - macos
only: [merge_requests, branches]
extends: .general extends: .general
stage: build only: [merge_requests, branches]
before_script:
# Provision efficiently the local LFS cache before checkout
- git lfs fetch origin $CI_COMMIT_SHA
# Checkout the expected branch
- git checkout -f -q $CI_COMMIT_SHA
- ssh -o StrictHostKeyChecking=no -T git@gitlab.orfeo-toolbox.org
after_script:
- echo "Nothing to do for after_script"
script: script:
- ctest -VV -S CI/main_superbuild.cmake -DIMAGE_NAME:string=otb-macos-superbuild - ctest -VV -S CI/main_superbuild.cmake -DIMAGE_NAME:string=otb-macos-superbuild
- ctest -VV -S CI/main_packages.cmake -DIMAGE_NAME:string=otb-macos-superbuild
dependencies: dependencies:
- macos-superbuild-prepare - macos-superbuild-prepare
Supports Markdown
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