Commit 5c4c0bee authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#1410 Yaml: Use the extend syntax as the previous one didn't work (see...

#1410 Yaml: Use the extend syntax as the previous one didn't work (see https://gitlab.com/gitlab-org/gitlab-ee/issues/6136 for more details).
parent 1bfc6313
Pipeline #74614 failed with stages
in 12 minutes and 52 seconds
......@@ -58,12 +58,12 @@ class Configuration():
print(" - {}".format(self.__mode))
print(" variables:")
print(" OS: {}".format(self.__os))
print(" COMPILER: {}".format(self.__compiler))
print(" MODE: {}".format(self.__mode))
print(" LIB_NATURE: {}".format(self.__library_type))
print(" OS: {}".format(self.__os))
print(" IS_ONLY_ONE_LIB: {}".format(self.__is_one_library))
print(' OS: "{}"'.format(self.__os))
print(' COMPILER: "{}"'.format(self.__compiler))
print(' MODE: "{}"'.format(self.__mode))
print(' LIB_NATURE: "{}"'.format(self.__library_type))
print(' OS: "{}"'.format(self.__os))
print(' IS_ONLY_ONE_LIB: "{}"'.format(self.__is_one_library))
def Print(self, do_define_tags):
......@@ -84,11 +84,11 @@ class Configuration():
raise Exception("Chosen OS ({}) is not a known one".format(self.__os))
print("build_{}:".format(key))
print(" <<: *build_template_{}".format(unix))
print(" extends: .build_template_{}".format(unix))
self.__PrintTagsAndVariables(do_define_tags)
print("")
print("check_{}:".format(key))
print(" <<: *check_compilation_warning_template")
print(" extends: .check_compilation_warning_template")
self.__PrintTagsAndVariables(do_define_tags)
......
......@@ -3,176 +3,176 @@ include:
build_ubuntu_gcc_debug_several_shared_libraries:
<<: *build_template_linux
extends: .build_template_linux
tags:
- ubuntu
- gcc
- debug
variables:
OS: ubuntu
COMPILER: gcc
MODE: debug
LIB_NATURE: shared
OS: ubuntu
IS_ONLY_ONE_LIB: False
OS: "ubuntu"
COMPILER: "gcc"
MODE: "debug"
LIB_NATURE: "shared"
OS: "ubuntu"
IS_ONLY_ONE_LIB: "False"
check_ubuntu_gcc_debug_several_shared_libraries:
<<: *check_compilation_warning_template
extends: .check_compilation_warning_template
tags:
- ubuntu
- gcc
- debug
variables:
OS: ubuntu
COMPILER: gcc
MODE: debug
LIB_NATURE: shared
OS: ubuntu
IS_ONLY_ONE_LIB: False
OS: "ubuntu"
COMPILER: "gcc"
MODE: "debug"
LIB_NATURE: "shared"
OS: "ubuntu"
IS_ONLY_ONE_LIB: "False"
build_ubuntu_gcc_release_one_static_library:
<<: *build_template_linux
extends: .build_template_linux
tags:
- ubuntu
- gcc
- release
variables:
OS: ubuntu
COMPILER: gcc
MODE: release
LIB_NATURE: static
OS: ubuntu
IS_ONLY_ONE_LIB: True
OS: "ubuntu"
COMPILER: "gcc"
MODE: "release"
LIB_NATURE: "static"
OS: "ubuntu"
IS_ONLY_ONE_LIB: "True"
check_ubuntu_gcc_release_one_static_library:
<<: *check_compilation_warning_template
extends: .check_compilation_warning_template
tags:
- ubuntu
- gcc
- release
variables:
OS: ubuntu
COMPILER: gcc
MODE: release
LIB_NATURE: static
OS: ubuntu
IS_ONLY_ONE_LIB: True
OS: "ubuntu"
COMPILER: "gcc"
MODE: "release"
LIB_NATURE: "static"
OS: "ubuntu"
IS_ONLY_ONE_LIB: "True"
build_fedora_gcc_debug_one_shared_library:
<<: *build_template_linux
extends: .build_template_linux
tags:
- fedora
- gcc
- debug
variables:
OS: fedora
COMPILER: gcc
MODE: debug
LIB_NATURE: shared
OS: fedora
IS_ONLY_ONE_LIB: True
OS: "fedora"
COMPILER: "gcc"
MODE: "debug"
LIB_NATURE: "shared"
OS: "fedora"
IS_ONLY_ONE_LIB: "True"
check_fedora_gcc_debug_one_shared_library:
<<: *check_compilation_warning_template
extends: .check_compilation_warning_template
tags:
- fedora
- gcc
- debug
variables:
OS: fedora
COMPILER: gcc
MODE: debug
LIB_NATURE: shared
OS: fedora
IS_ONLY_ONE_LIB: True
OS: "fedora"
COMPILER: "gcc"
MODE: "debug"
LIB_NATURE: "shared"
OS: "fedora"
IS_ONLY_ONE_LIB: "True"
build_fedora_gcc_release_several_static_libraries:
<<: *build_template_linux
extends: .build_template_linux
tags:
- fedora
- gcc
- release
variables:
OS: fedora
COMPILER: gcc
MODE: release
LIB_NATURE: static
OS: fedora
IS_ONLY_ONE_LIB: False
OS: "fedora"
COMPILER: "gcc"
MODE: "release"
LIB_NATURE: "static"
OS: "fedora"
IS_ONLY_ONE_LIB: "False"
check_fedora_gcc_release_several_static_libraries:
<<: *check_compilation_warning_template
extends: .check_compilation_warning_template
tags:
- fedora
- gcc
- release
variables:
OS: fedora
COMPILER: gcc
MODE: release
LIB_NATURE: static
OS: fedora
IS_ONLY_ONE_LIB: False
OS: "fedora"
COMPILER: "gcc"
MODE: "release"
LIB_NATURE: "static"
OS: "fedora"
IS_ONLY_ONE_LIB: "False"
build_fedora_clang_debug_several_shared_libraries:
<<: *build_template_linux
extends: .build_template_linux
tags:
- fedora
- clang
- debug
variables:
OS: fedora
COMPILER: clang
MODE: debug
LIB_NATURE: shared
OS: fedora
IS_ONLY_ONE_LIB: False
OS: "fedora"
COMPILER: "clang"
MODE: "debug"
LIB_NATURE: "shared"
OS: "fedora"
IS_ONLY_ONE_LIB: "False"
check_fedora_clang_debug_several_shared_libraries:
<<: *check_compilation_warning_template
extends: .check_compilation_warning_template
tags:
- fedora
- clang
- debug
variables:
OS: fedora
COMPILER: clang
MODE: debug
LIB_NATURE: shared
OS: fedora
IS_ONLY_ONE_LIB: False
OS: "fedora"
COMPILER: "clang"
MODE: "debug"
LIB_NATURE: "shared"
OS: "fedora"
IS_ONLY_ONE_LIB: "False"
build_fedora_clang_release_one_static_library:
<<: *build_template_linux
extends: .build_template_linux
tags:
- fedora
- clang
- release
variables:
OS: fedora
COMPILER: clang
MODE: release
LIB_NATURE: static
OS: fedora
IS_ONLY_ONE_LIB: True
OS: "fedora"
COMPILER: "clang"
MODE: "release"
LIB_NATURE: "static"
OS: "fedora"
IS_ONLY_ONE_LIB: "True"
check_fedora_clang_release_one_static_library:
<<: *check_compilation_warning_template
extends: .check_compilation_warning_template
tags:
- fedora
- clang
- release
variables:
OS: fedora
COMPILER: clang
MODE: release
LIB_NATURE: static
OS: fedora
IS_ONLY_ONE_LIB: True
OS: "fedora"
COMPILER: "clang"
MODE: "release"
LIB_NATURE: "static"
OS: "fedora"
IS_ONLY_ONE_LIB: "True"
......@@ -3,234 +3,234 @@ include:
build_ubuntu_gcc_debug_several_shared_libraries:
<<: *build_template_linux
extends: .build_template_linux
tags:
- ubuntu
- gcc
- debug
variables:
OS: ubuntu
COMPILER: gcc
MODE: debug
LIB_NATURE: shared
OS: ubuntu
IS_ONLY_ONE_LIB: False
OS: "ubuntu"
COMPILER: "gcc"
MODE: "debug"
LIB_NATURE: "shared"
OS: "ubuntu"
IS_ONLY_ONE_LIB: "False"
check_ubuntu_gcc_debug_several_shared_libraries:
<<: *check_compilation_warning_template
extends: .check_compilation_warning_template
tags:
- ubuntu
- gcc
- debug
variables:
OS: ubuntu
COMPILER: gcc
MODE: debug
LIB_NATURE: shared
OS: ubuntu
IS_ONLY_ONE_LIB: False
OS: "ubuntu"
COMPILER: "gcc"
MODE: "debug"
LIB_NATURE: "shared"
OS: "ubuntu"
IS_ONLY_ONE_LIB: "False"
build_ubuntu_gcc_release_one_static_library:
<<: *build_template_linux
extends: .build_template_linux
tags:
- ubuntu
- gcc
- release
variables:
OS: ubuntu
COMPILER: gcc
MODE: release
LIB_NATURE: static
OS: ubuntu
IS_ONLY_ONE_LIB: True
OS: "ubuntu"
COMPILER: "gcc"
MODE: "release"
LIB_NATURE: "static"
OS: "ubuntu"
IS_ONLY_ONE_LIB: "True"
check_ubuntu_gcc_release_one_static_library:
<<: *check_compilation_warning_template
extends: .check_compilation_warning_template
tags:
- ubuntu
- gcc
- release
variables:
OS: ubuntu
COMPILER: gcc
MODE: release
LIB_NATURE: static
OS: ubuntu
IS_ONLY_ONE_LIB: True
OS: "ubuntu"
COMPILER: "gcc"
MODE: "release"
LIB_NATURE: "static"
OS: "ubuntu"
IS_ONLY_ONE_LIB: "True"
build_fedora_gcc_debug_one_shared_library:
<<: *build_template_linux
extends: .build_template_linux
tags:
- fedora
- gcc
- debug
variables:
OS: fedora
COMPILER: gcc
MODE: debug
LIB_NATURE: shared
OS: fedora
IS_ONLY_ONE_LIB: True
OS: "fedora"
COMPILER: "gcc"
MODE: "debug"
LIB_NATURE: "shared"
OS: "fedora"
IS_ONLY_ONE_LIB: "True"
check_fedora_gcc_debug_one_shared_library:
<<: *check_compilation_warning_template
extends: .check_compilation_warning_template
tags:
- fedora
- gcc
- debug
variables:
OS: fedora
COMPILER: gcc
MODE: debug
LIB_NATURE: shared
OS: fedora
IS_ONLY_ONE_LIB: True
OS: "fedora"
COMPILER: "gcc"
MODE: "debug"
LIB_NATURE: "shared"
OS: "fedora"
IS_ONLY_ONE_LIB: "True"
build_fedora_gcc_release_several_static_libraries:
<<: *build_template_linux
extends: .build_template_linux
tags:
- fedora
- gcc
- release
variables:
OS: fedora
COMPILER: gcc
MODE: release
LIB_NATURE: static
OS: fedora
IS_ONLY_ONE_LIB: False
OS: "fedora"
COMPILER: "gcc"
MODE: "release"
LIB_NATURE: "static"
OS: "fedora"
IS_ONLY_ONE_LIB: "False"
check_fedora_gcc_release_several_static_libraries:
<<: *check_compilation_warning_template
extends: .check_compilation_warning_template
tags:
- fedora
- gcc
- release
variables:
OS: fedora
COMPILER: gcc
MODE: release
LIB_NATURE: static
OS: fedora
IS_ONLY_ONE_LIB: False
OS: "fedora"
COMPILER: "gcc"
MODE: "release"
LIB_NATURE: "static"
OS: "fedora"
IS_ONLY_ONE_LIB: "False"
build_fedora_clang_debug_several_shared_libraries:
<<: *build_template_linux
extends: .build_template_linux
tags:
- fedora
- clang
- debug
variables:
OS: fedora
COMPILER: clang
MODE: debug
LIB_NATURE: shared
OS: fedora
IS_ONLY_ONE_LIB: False
OS: "fedora"
COMPILER: "clang"
MODE: "debug"
LIB_NATURE: "shared"
OS: "fedora"
IS_ONLY_ONE_LIB: "False"
check_fedora_clang_debug_several_shared_libraries:
<<: *check_compilation_warning_template
extends: .check_compilation_warning_template
tags:
- fedora
- clang
- debug
variables:
OS: fedora
COMPILER: clang
MODE: debug
LIB_NATURE: shared
OS: fedora
IS_ONLY_ONE_LIB: False
OS: "fedora"
COMPILER: "clang"
MODE: "debug"
LIB_NATURE: "shared"
OS: "fedora"
IS_ONLY_ONE_LIB: "False"
build_fedora_clang_release_one_static_library:
<<: *build_template_linux
extends: .build_template_linux
tags:
- fedora
- clang
- release
variables:
OS: fedora
COMPILER: clang
MODE: release
LIB_NATURE: static
OS: fedora
IS_ONLY_ONE_LIB: True
OS: "fedora"
COMPILER: "clang"
MODE: "release"
LIB_NATURE: "static"
OS: "fedora"
IS_ONLY_ONE_LIB: "True"
check_fedora_clang_release_one_static_library:
<<: *check_compilation_warning_template
extends: .check_compilation_warning_template
tags:
- fedora
- clang
- release
variables:
OS: fedora
COMPILER: clang
MODE: release
LIB_NATURE: static
OS: fedora
IS_ONLY_ONE_LIB: True
OS: "fedora"
COMPILER: "clang"
MODE: "release"
LIB_NATURE: "static"
OS: "fedora"
IS_ONLY_ONE_LIB: "True"
build_macos_clang_debug_one_static_library:
<<: *build_template_macos
extends: .build_template_macos
tags:
- macos
- clang
- debug
variables:
OS: macos
COMPILER: clang
MODE: debug
LIB_NATURE: static
OS: macos
IS_ONLY_ONE_LIB: True
OS: "macos"
COMPILER: "clang"
MODE: "debug"
LIB_NATURE: "static"
OS: "macos"
IS_ONLY_ONE_LIB: "True"
check_macos_clang_debug_one_static_library:
<<: *check_compilation_warning_template
extends: .check_compilation_warning_template
tags:
- macos
- clang
- debug
variables:
OS: macos
COMPILER: clang
MODE: debug
LIB_NATURE: static
OS: macos
IS_ONLY_ONE_LIB: True
OS: "macos"
COMPILER: "clang"
MODE: "debug"
LIB_NATURE: "static"
OS: "macos"
IS_ONLY_ONE_LIB: "True"
build_macos_clang_release_several_shared_libraries:
<<: *build_template_macos
extends: .build_template_macos
tags:
- macos
- clang
- release
variables:
OS: macos