Commit ee6d39ba authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#1360 Gitlab-CI: several Linux configurations added.

parent cc613c25
......@@ -11,20 +11,20 @@ stages:
stage: stage1
image: registry.gitlab.inria.fr/morefem/thirdpartycompilationfactory/${OS}-${COMPILER}-${MODE}:latest
cache:
key: "${CI_COMMIT_REF_SLUG}_${OS}-${COMPILER}-${MODE}-${LIB_NATURE}-UniqueLib_${ONE_OR_MANY_LIB}"
key: "${CI_COMMIT_REF_SLUG}_${OS}-${COMPILER}-${MODE}-${LIB_NATURE}-UniqueLib_${IS_ONLY_ONE_LIB}"
untracked: true
paths:
- build
script:
- mkdir -p build
- cd build && python ../cmake/Scripts/configure_cmake.py --cache_file=../cmake/PreCache/linux.cmake --cmake_args="-G Ninja" --install_directory=/opt --third_party_directory=/opt --mode=${MODE} --library_type=${LIB_NATURE} --morefem_as_single_library=${ONE_OR_MANY_LIB}
- cd build && python ../cmake/Scripts/configure_cmake.py --cache_file=../cmake/PreCache/linux.cmake --cmake_args="-G Ninja" --install_directory=/opt --third_party_directory=/opt --mode=${MODE} --library_type=${LIB_NATURE} --morefem_as_single_library=${IS_ONLY_ONE_LIB}
- ninja -j 4
.test_template: &test_template
stage: stage2
image: registry.gitlab.inria.fr/morefem/thirdpartycompilationfactory/${OS}-${COMPILER}-${MODE}:latest
cache:
key: "${CI_COMMIT_REF_SLUG}_${OS}-${COMPILER}-${MODE}-${LIB_NATURE}-UniqueLib_${ONE_OR_MANY_LIB}"
key: "${CI_COMMIT_REF_SLUG}_${OS}-${COMPILER}-${MODE}-${LIB_NATURE}-UniqueLib_${IS_ONLY_ONE_LIB}"
untracked: true
paths:
- build
......@@ -34,175 +34,150 @@ stages:
build-Ubuntu-gcc-debug-shared-several_libs:
<<: *build_template
tags:
- docker-test
variables:
OS: "ubuntu"
COMPILER: "gcc"
MODE: "debug"
LIB_NATURE: "shared"
ONE_OR_MANY_LIB: "False"
IS_ONLY_ONE_LIB: "False"
build-Fedora-gcc-release-static-one_lib:
test-Ubuntu-gcc-debug-shared-several_libs:
<<: *test_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: "fedora"
OS: "ubuntu"
COMPILER: "gcc"
MODE: "release"
LIB_NATURE: "static"
ONE_OR_MANY_LIB: "True"
test-Ubuntu-gcc-debug-shared-several_libs:
IS_ONLY_ONE_LIB: "True"
test-Ubuntu-gcc-release-static-unique_lib:
<<: *test_template
tags:
- docker-test
variables:
OS: "ubuntu"
COMPILER: "gcc"
MODE: "debug"
LIB_NATURE: "shared"
ONE_OR_MANY_LIB: "False"
MODE: "release"
LIB_NATURE: "static"
IS_ONLY_ONE_LIB: "True"
test-Fedora-gccrelease-static-one_lib:
build-Fedora-gcc-debug-static-one_lib:
<<: *build_template
variables:
OS: "fedora"
COMPILER: "gcc"
MODE: "debug"
LIB_NATURE: "static"
IS_ONLY_ONE_LIB: "True"
test-Fedora-gcc-debug-static-one_lib:
<<: *test_template
variables:
OS: "fedora"
COMPILER: "gcc"
MODE: "release"
MODE: "debug"
LIB_NATURE: "static"
ONE_OR_MANY_LIB: "True"
IS_ONLY_ONE_LIB: "True"
# test-Ubuntu-gcc-debug-shared-several_libs:
# stage: stage2
# image: registry.gitlab.inria.fr/morefem/thirdpartycompilationfactory/ubuntu-gcc-debug:latest
# cache:
# key: "${CI_COMMIT_REF_SLUG}_Ubuntu-gcc-debug-shared-several_libs"
# untracked: true
# paths:
# - build
# # tags:
# # - docker-test
# script:
# - cd build && ctest
# test-Ubuntu-gcc-debug-shared-several_libs:
# stage: stage2
# image: registry.gitlab.inria.fr/morefem/thirdpartycompilationfactory/ubuntu-gcc-debug:latest
# cache:
# key: "${CI_COMMIT_REF_SLUG}_Ubuntu-gcc-debug-shared-several_libs"
# untracked: true
# paths:
# - build
# # tags:
# # - docker-test
# script:
# - cd build && ctest
build-Fedora-gcc-release-shared-several_libs:
<<: *build_template
variables:
OS: "fedora"
COMPILER: "gcc"
MODE: "release"
LIB_NATURE: "shared"
IS_ONLY_ONE_LIB: "False"
test-Fedora-gcc-release-shared-several_libs:
<<: *test_template
variables:
OS: "fedora"
COMPILER: "gcc"
MODE: "release"
LIB_NATURE: "shared"
IS_ONLY_ONE_LIB: "False"
# build-Fedora-debug-shared-several_libs:
# stage: stage1
# cache:
# key: "$CI_COMMIT_REF_SLUG_Fedora-debug-shared-several_libs"
# untracked: true
# paths:
# - build
# tags:
# - Fedora
# - debug
# - shared
# - several_libs
# script:
# - mkdir -p build
# - cd build && python ../cmake/Scripts/configure_cmake.py --cache_file=../cmake/PreCache/linux.cmake --cmake_args="-G Ninja" --install_directory=/media/suppl_drive/opt/debug/shared/several_libs/ --third_party_directory /media/suppl_drive/opt
# - ninja -j 4
#
# build-Ubuntu-debug-shared-several_libs:
# stage: stage1
# cache:
# key: "$CI_COMMIT_REF_SLUG_Ubuntu-debug-shared-several_libs"
# untracked: true
# paths:
# - build
# tags:
# - Ubuntu
# - debug
# - shared
# - several_libs
# script:
# - mkdir -p build
# - cd build && python ../cmake/Scripts/configure_cmake.py --cache_file=../cmake/PreCache/linux.cmake --cmake_args="-G Ninja" --install_directory=/media/suppl_drive/opt/debug/shared/several_libs/ --third_party_directory /media/suppl_drive/opt
# - ninja -j 4
#
# build-Fedora-release-static-unique_lib:
# stage: stage1
# cache:
# key: "$CI_COMMIT_REF_SLUG_Fedora-release-static-unique_lib"
# untracked: true
# paths:
# - build
# tags:
# - Fedora
# - release
# - static
# - unique_lib
# script:
# - mkdir -p build
# - cd build && python ../cmake/Scripts/configure_cmake.py --cache_file=../cmake/PreCache/linux.cmake --cmake_args="-G Ninja" --install_directory=/media/suppl_drive/opt/release/static/unique_lib/ --third_party_directory /media/suppl_drive/opt --mode="Release" --library_type="static" --morefem_as_single_library=True
# - ninja -j 4
#
#
# test-Fedora-debug-shared-several_libs:
# stage: stage2
# cache:
# key: "$CI_COMMIT_REF_SLUG_Fedora-debug-shared-several_libs"
# untracked: true
# paths:
# - build
build-Fedora-clang-debug-static-one_lib:
<<: *build_template
variables:
OS: "fedora"
COMPILER: "clang"
MODE: "debug"
LIB_NATURE: "static"
IS_ONLY_ONE_LIB: "True"
test-Fedora-clang-debug-static-one_lib:
<<: *test_template
variables:
OS: "fedora"
COMPILER: "clang"
MODE: "debug"
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"
test-Fedora-clang-release-shared-several_libs:
<<: *test_template
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:
# - Fedora
# - debug
# - shared
# - several_libs
# script:
# - cd build && ctest
# - macos, debug, shared, several_libs
# variables:
# OS: "macos"
# COMPILER: "clang"
# MODE: "debug"
# LIB_NATURE: "shared"
# IS_ONLY_ONE_LIB: "False"
#
# test-Ubuntu-debug-shared-several_libs:
# stage: stage2
# cache:
# key: "$CI_COMMIT_REF_SLUG_Ubuntu-debug-shared-several_libs"
# untracked: true
# paths:
# - build
# tags:
# - Ubuntu
# - debug
# - shared
# - several_libs
# script:
# - cd build && ctest
#
# test-Fedora-release-static-unique_lib:
# stage: stage2
# cache:
# key: "$CI_COMMIT_REF_SLUG_Fedora-release-static-unique_lib"
# untracked: true
# paths:
# - build
# test-macos-clang-debug-shared-several_libs:
# <<: *test_template
# tags:
# - Fedora
# - release
# - static
# - unique_lib
# script:
# - cd build && ctest
#
#
# - macos, debug, shared, several_libs
# variables:
# OS: "macos"
# COMPILER: "clang"
# MODE: "debug"
# LIB_NATURE: "shared"
# IS_ONLY_ONE_LIB: "False"
# doxygen:
# stage: stage1
#
......
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