Commit 7ea8d29c authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

CI: enable all jobs

parent 818dc0d6
...@@ -30,20 +30,20 @@ stages: ...@@ -30,20 +30,20 @@ stages:
- runner_system_failure - runner_system_failure
- stuck_or_timeout_failure - stuck_or_timeout_failure
#~ fast-build: fast-build:
#~ extends: .general extends: .general
#~ only: [merge_requests, branches] only: [merge_requests, branches]
#~ stage: precheck stage: precheck
#~ image: $BUILD_IMAGE_REGISTRY/otb-ubuntu-native-develop:latest image: $BUILD_IMAGE_REGISTRY/otb-ubuntu-native-develop:latest
#~ before_script: before_script:
#~ - export GIT_LFS_SKIP_SMUDGE=1 - export GIT_LFS_SKIP_SMUDGE=1
#~ - git checkout -f -q $CI_COMMIT_SHA - git checkout -f -q $CI_COMMIT_SHA
#~ - python3 CI/check_twin_pipelines.py - python CI/check_twin_pipelines.py
#~ after_script: after_script:
#~ - python3 CI/cdash_handler.py - python CI/cdash_handler.py
#~ script: script:
#~ - ctest -V -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-fast - ctest -V -S CI/main_ci.cmake -DIMAGE_NAME:string=ubuntu-18.04-fast
#~ - ccache -s - ccache -s
.common-build: .common-build:
...@@ -60,7 +60,7 @@ stages: ...@@ -60,7 +60,7 @@ stages:
# Checkout the expected branch # Checkout the expected branch
- git checkout -f -q $CI_COMMIT_SHA - git checkout -f -q $CI_COMMIT_SHA
after_script: after_script:
- python3 CI/cdash_handler.py - python CI/cdash_handler.py
artifacts: artifacts:
when: on_failure when: on_failure
expire_in: 24 hrs expire_in: 24 hrs
...@@ -68,11 +68,11 @@ stages: ...@@ -68,11 +68,11 @@ stages:
- build/*/*.log #CMake log - build/*/*.log #CMake log
- log/*.txt # Others - log/*.txt # Others
#~ debian-build: debian-build:
#~ extends: .common-build extends: .common-build
#~ image: $BUILD_IMAGE_REGISTRY/otb-debian-native:unstable image: $BUILD_IMAGE_REGISTRY/otb-debian-native:unstable
#~ script: script:
#~ - xvfb-run -a -n 1 -s "-screen 0 1024x768x24 -dpi 96" ctest -V -S CI/main_ci.cmake -DIMAGE_NAME:string=debian-unstable-gcc - xvfb-run -a -n 1 -s "-screen 0 1024x768x24 -dpi 96" ctest -V -S CI/main_ci.cmake -DIMAGE_NAME:string=debian-unstable-gcc
.common-prepare: .common-prepare:
extends: .general extends: .general
...@@ -94,91 +94,81 @@ stages: ...@@ -94,91 +94,81 @@ stages:
- build/*/*/*/*.log # Superbuild log - build/*/*/*/*.log # Superbuild log
## Ubuntu superbuild ## Ubuntu superbuild
#~ ubuntu-superbuild-prepare: ubuntu-superbuild-prepare:
#~ extends: .common-prepare extends: .common-prepare
#~ image: $BUILD_IMAGE_REGISTRY/otb-ubuntu-superbuild-base:18.04 image: $BUILD_IMAGE_REGISTRY/otb-ubuntu-superbuild-base:18.04
#~ script: script:
#~ - ctest -VV -S CI/prepare_superbuild.cmake -DIMAGE_NAME:string=otb-ubuntu-superbuild-base - ctest -VV -S CI/prepare_superbuild.cmake -DIMAGE_NAME:string=otb-ubuntu-superbuild-base
#~
#~ ubuntu-superbuild-build: ubuntu-superbuild-build:
#~ extends: .common-build extends: .common-build
#~ image: $BUILD_IMAGE_REGISTRY/otb-ubuntu-superbuild-base:18.04 image: $BUILD_IMAGE_REGISTRY/otb-ubuntu-superbuild-base:18.04
#~ script: script:
#~ - xvfb-run -a -n 1 -s "-screen 0 1024x768x24 -dpi 96" ctest -V -S CI/main_superbuild.cmake -DIMAGE_NAME:string=ubuntu-18.04-llvm-xdk - xvfb-run -a -n 1 -s "-screen 0 1024x768x24 -dpi 96" ctest -V -S CI/main_superbuild.cmake -DIMAGE_NAME:string=ubuntu-18.04-llvm-xdk
#~ - xvfb-run -a -n 1 -s "-screen 0 1024x768x24 -dpi 96" ctest -VV -S CI/main_packages.cmake -DIMAGE_NAME:string=otb-ubuntu-superbuild-base - xvfb-run -a -n 1 -s "-screen 0 1024x768x24 -dpi 96" ctest -VV -S CI/main_packages.cmake -DIMAGE_NAME:string=otb-ubuntu-superbuild-base
#~ dependencies: dependencies:
#~ - ubuntu-superbuild-prepare - ubuntu-superbuild-prepare
#~ artifacts: artifacts:
#~ paths: paths:
#~ - build/CookBook-*-html.tar.gz - build/CookBook-*-html.tar.gz
#~ - build/Documentation/Cookbook/latex/CookBook-*.pdf - build/Documentation/Cookbook/latex/CookBook-*.pdf
#~ - build/Documentation/Doxygen/OTB-Doxygen-*.tar.bz2 - build/Documentation/Doxygen/OTB-Doxygen-*.tar.bz2
## 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
#~ script: script:
#~ - ctest -VV -S CI/prepare_superbuild.cmake -DIMAGE_NAME:string=otb-centos-superbuild-base - ctest -VV -S CI/prepare_superbuild.cmake -DIMAGE_NAME:string=otb-centos-superbuild-base
#~
#~ centos-superbuild-build: centos-superbuild-build:
#~ extends: .common-build extends: .common-build
#~ image: $BUILD_IMAGE_REGISTRY/otb-centos-superbuild-base:6.6 image: $BUILD_IMAGE_REGISTRY/otb-centos-superbuild-base:6.6
#~ script: script:
#~ - xvfb-run -a -n 1 -s "-screen 0 1024x768x24 -dpi 96" ctest -V -S CI/main_superbuild.cmake -DIMAGE_NAME:string=otb-centos-superbuild-base - xvfb-run -a -n 1 -s "-screen 0 1024x768x24 -dpi 96" ctest -V -S CI/main_superbuild.cmake -DIMAGE_NAME:string=otb-centos-superbuild-base
#~ - xvfb-run -a -n 1 -s "-screen 0 1024x768x24 -dpi 96" ctest -VV -S CI/main_packages.cmake -DIMAGE_NAME:string=otb-centos-superbuild-base - xvfb-run -a -n 1 -s "-screen 0 1024x768x24 -dpi 96" ctest -VV -S CI/main_packages.cmake -DIMAGE_NAME:string=otb-centos-superbuild-base
#~ dependencies: dependencies:
#~ - centos-superbuild-prepare - centos-superbuild-prepare
## MacOS superbuild ## MacOS superbuild
#~ macos-superbuild-prepare: macos-superbuild-prepare:
#~ tags: tags:
#~ - macos - macos
#~ extends: .common-prepare extends: .common-prepare
#~ before_script: before_script:
#~ # No need to install lfs as this machine is persistent # No need to install lfs as this machine is persistent
#~ # No need to do git config # No need to do git config
#~ # Checkout the expected branch # Checkout the expected branch
#~ - export GIT_LFS_SKIP_SMUDGE=1 - export GIT_LFS_SKIP_SMUDGE=1
#~ - git checkout -f -q $CI_COMMIT_SHA - git checkout -f -q $CI_COMMIT_SHA
#~ - export GIT_LFS_SKIP_SMUDGE=0 - export GIT_LFS_SKIP_SMUDGE=0
#~ 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
#~
#~ macos-superbuild-build: macos-superbuild-build:
#~ tags: tags:
#~ - macos - macos
#~ extends: .common-build extends: .common-build
#~ script: script:
#~ - ctest -V -S CI/main_superbuild.cmake -DIMAGE_NAME:string=otb-macos-superbuild - ctest -V -S CI/main_superbuild.cmake -DIMAGE_NAME:string=otb-macos-superbuild
#~ - ctest -VV -S CI/main_packages.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
## Windows ## Windows
.windows-prepare: .windows-prepare:
extends: .general extends: .common-prepare
# only: [merge_requests]
stage: prepare
before_script: before_script:
# This override the previous before_script # This override the previous before_script
- set GIT_LFS_SKIP_SMUDGE=1 - set GIT_LFS_SKIP_SMUDGE=1
- git checkout %CI_COMMIT_REF_NAME% - git checkout -f -q %CI_COMMIT_SHA%
- set GIT_LFS_SKIP_SMUDGE=0 - set GIT_LFS_SKIP_SMUDGE=0
artifacts:
expire_in: 24 hrs
when: always
paths:
- sb_branch.txt # Needed to checkout correct branch in build step
- build/*/*/*/*.log # Superbuild log
.common-windows-build: .common-windows-build:
extends: .common-build extends: .common-build
before_script: before_script:
- git lfs fetch origin %CI_COMMIT_SHA% - git lfs fetch origin %CI_COMMIT_SHA%
- git checkout %CI_COMMIT_REF_NAME% - git checkout %CI_COMMIT_REF_NAME%
after_script:
- python ./CI/cdash_handler.py
# - Win10 # - Win10
windows-10-prepare: windows-10-prepare:
......
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