Commit 663f4b36 authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#1360 Modify the Yaml to generate much more images (using the newly created...

#1360 Modify the Yaml to generate much more images (using the newly created Docker images for third party corrected from the Openblas issue).
parent b639c2f3
......@@ -9,22 +9,22 @@ stages:
.build_template: &build_template
stage: stage1
image: registry.gitlab.inria.fr/morefem/thirdpartycompilationfactory/${OS}-${COMPILER}-${MODE}:rc19.11
image: registry.gitlab.inria.fr/morefem/thirdpartycompilationfactory/${OS}-${COMPILER}-${MODE}
cache:
key: "cache_${CI_COMMIT_REF_SLUG}_${OS}-${COMPILER}-${MODE}-${LIB_NATURE}-UniqueLib_${IS_ONLY_ONE_LIB}"
key: "cache_${CI_COMMIT_REF_SLUG}_${OS}-${COMPILER}-${MODE}-${LIB_NATURE}-${IS_ONLY_ONE_LIB}"
untracked: true
paths:
- build
artifacts:
name: "artifact_${CI_COMMIT_REF_SLUG}_${OS}-${COMPILER}-${MODE}-${LIB_NATURE}-UniqueLib_${IS_ONLY_ONE_LIB}"
expire_in: 2 hours
name: "artifact_${CI_COMMIT_REF_SLUG}_${OS}-${COMPILER}-${MODE}-${LIB_NATURE}-${IS_ONLY_ONE_LIB}"
expire_in: 8 hours
paths:
- build/compilation.log
script:
- mkdir -p build
- cd build && python ../cmake/Scripts/configure_cmake.py --cache_file=../cmake/PreCache/linux.cmake --cmake_args="-G Ninja" --third_party_directory=/opt --mode=${MODE} --library_type=${LIB_NATURE} --morefem_as_single_library=${IS_ONLY_ONE_LIB}
- ninja |& tee compilation.log
- ninja test # as asrtifact are limited in size, I can;'t unfortunately use a separate stage...
- ninja test # as artifact are limited in size, I can't unfortunately use a separate stage...
.run_doxygen_template: &run_doxygen_template
......@@ -63,55 +63,10 @@ stages:
# script:
# - cd build && ctest
#
# build-Ubuntu-gcc-debug-shared-several_libs:
# <<: *build_template
# variables:
# OS: "ubuntu"
# COMPILER: "gcc"
# MODE: "debug"
# LIB_NATURE: "shared"
# IS_ONLY_ONE_LIB: "False"
# build-Ubuntu-gcc-release-static-unique_lib:
# <<: *build_template
# variables:
# OS: "ubuntu"
# COMPILER: "gcc"
# MODE: "release"
# LIB_NATURE: "static"
# IS_ONLY_ONE_LIB: "True"
#
#
# build-Fedora-gcc-debug-static-one_lib:
# <<: *build_template
# variables:
# OS: "fedora"
# COMPILER: "gcc"
# MODE: "debug"
# LIB_NATURE: "static"
# IS_ONLY_ONE_LIB: "True"
#
# build-Fedora-gcc-release-shared-several_libs:
# <<: *build_template
# variables:
# OS: "fedora"
# COMPILER: "gcc"
# MODE: "release"
# LIB_NATURE: "shared"
# IS_ONLY_ONE_LIB: "False"
#
build-Ubuntu-gcc-debug-shared-several_libs:
<<: *build_template
# tags:
# - ubuntu
# - gcc
# - debug
variables:
OS: "ubuntu"
COMPILER: "gcc"
......@@ -130,6 +85,28 @@ check_Ubuntu-gcc-debug-shared-several_libs:
MODE: "debug"
LIB_NATURE: "shared"
IS_ONLY_ONE_LIB: "False"
build-Ubuntu-gcc-release-static-one_lib:
<<: *build_template
variables:
OS: "ubuntu"
COMPILER: "gcc"
MODE: "release"
LIB_NATURE: "static"
IS_ONLY_ONE_LIB: "True"
check_warning_Ubuntu-gcc-release-static-one_lib:
<<: *check_warning_template
dependencies:
- build-Ubuntu-gcc-release-static-one_lib
variables:
OS: "ubuntu"
COMPILER: "gcc"
MODE: "release"
LIB_NATURE: "static"
IS_ONLY_ONE_LIB: "True"
build-Fedora-clang-debug-static-one_lib:
......@@ -153,43 +130,65 @@ check_warning_Fedora-clang-debug-static-one_lib:
LIB_NATURE: "static"
IS_ONLY_ONE_LIB: "True"
# build-Fedora-clang-release-shared-several_libs:
# <<: *build_template
# variables:
# OS: "fedora"
# COMPILER: "clang"
# MODE: "release"
# LIB_NATURE: "shared"
# IS_ONLY_ONE_LIB: "False"
build-Fedora-clang-release-shared-one_lib:
<<: *build_template
variables:
OS: "fedora"
COMPILER: "clang"
MODE: "release"
LIB_NATURE: "shared"
IS_ONLY_ONE_LIB: "False"
check_warning_Fedora-clang-release-shared-several_libs:
<<: *check_warning_template
dependencies:
- build-Fedora-clang-release-shared-several_libs
variables:
OS: "fedora"
COMPILER: "clang"
MODE: "release"
LIB_NATURE: "shared"
IS_ONLY_ONE_LIB: "False"
# build-macos-clang-debug-shared-several_libs:
# <<: *build_template
# tags:
# - macos, debug, shared, several_libs
# variables:
# OS: "macos"
# COMPILER: "clang"
# MODE: "debug"
# LIB_NATURE: "shared"
# IS_ONLY_ONE_LIB: "False"
#
# doxygen:
# stage: stage1
#
# cache:
# key: "$CI_COMMIT_REF_SLUG_doxygen"
# untracked: true
# paths:
# - Documentation/Doxygen
# tags:
# - Ubuntu
# - debug
# script:
# - cd Documentation/Doxygen
# - doxygen complete_dev_guide.dox
build-Fedora-gcc-debug-static-one_lib:
<<: *build_template
variables:
OS: "fedora"
COMPILER: "gcc"
MODE: "debug"
LIB_NATURE: "static"
IS_ONLY_ONE_LIB: "True"
check_Fedora-gcc-debug-static-one_lib:
<<: *check_warning_template
dependencies:
- build-Fedora-gcc-debug-static-one_lib
variables:
OS: "fedora"
COMPILER: "gcc"
MODE: "debug"
LIB_NATURE: "static"
IS_ONLY_ONE_LIB: "True"
doxygen:
stage: stage1
cache:
key: "$CI_COMMIT_REF_SLUG_doxygen"
untracked: true
paths:
- Documentation/Doxygen
tags:
- Ubuntu
- debug
script:
- cd Documentation/Doxygen
- doxygen complete_dev_guide.dox
# Pages doesn't work as invoked from a subgroup (not supported yet in gitlab)
......
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