Commit 86158afc authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#1360 Yaml: experiment with artifact/dependencies (apparently cache doesn't...

#1360 Yaml: experiment with artifact/dependencies (apparently cache doesn't support yet multiple runners).
parent ee6d39ba
......@@ -15,6 +15,11 @@ stages:
untracked: true
paths:
- build
artifacts:
name: "${CI_COMMIT_REF_SLUG}_${OS}-${COMPILER}-${MODE}-${LIB_NATURE}-UniqueLib_${IS_ONLY_ONE_LIB}"
paths:
- build
expire_in: 1 day
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=${IS_ONLY_ONE_LIB}
......@@ -44,6 +49,8 @@ build-Ubuntu-gcc-debug-shared-several_libs:
test-Ubuntu-gcc-debug-shared-several_libs:
<<: *test_template
dependencies:
- build-Ubuntu-gcc-debug-shared-several_libs
variables:
OS: "ubuntu"
COMPILER: "gcc"
......@@ -52,25 +59,27 @@ test-Ubuntu-gcc-debug-shared-several_libs:
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"
test-Ubuntu-gcc-release-static-unique_lib:
<<: *test_template
variables:
OS: "ubuntu"
COMPILER: "gcc"
MODE: "release"
LIB_NATURE: "static"
IS_ONLY_ONE_LIB: "True"
# build-Ubuntu-gcc-release-static-unique_lib:
# <<: *build_template
# variables:
# OS: "ubuntu"
# COMPILER: "gcc"
# MODE: "release"
# LIB_NATURE: "static"
# IS_ONLY_ONE_LIB: "True"
#
#
# test-Ubuntu-gcc-release-static-unique_lib:
# <<: *test_template
# dependencies:
# - build-Ubuntu-gcc-release-static-unique_lib
# variables:
# OS: "ubuntu"
# COMPILER: "gcc"
# MODE: "release"
# LIB_NATURE: "static"
# IS_ONLY_ONE_LIB: "True"
#
build-Fedora-gcc-debug-static-one_lib:
......@@ -85,6 +94,8 @@ build-Fedora-gcc-debug-static-one_lib:
test-Fedora-gcc-debug-static-one_lib:
<<: *test_template
dependencies:
- build-Fedora-gcc-debug-static-one_lib
variables:
OS: "fedora"
COMPILER: "gcc"
......@@ -93,24 +104,26 @@ test-Fedora-gcc-debug-static-one_lib:
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"
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-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
# dependencies:
# - test-Fedora-gcc-release-shared-several_libs
# variables:
# OS: "fedora"
# COMPILER: "gcc"
# MODE: "release"
# LIB_NATURE: "shared"
# IS_ONLY_ONE_LIB: "False"
build-Fedora-clang-debug-static-one_lib:
......@@ -125,6 +138,8 @@ build-Fedora-clang-debug-static-one_lib:
test-Fedora-clang-debug-static-one_lib:
<<: *test_template
dependencies:
- build-Fedora-clang-debug-static-one_lib
variables:
OS: "fedora"
COMPILER: "clang"
......@@ -133,24 +148,26 @@ test-Fedora-clang-debug-static-one_lib:
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-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
# dependencies:
# - build-Fedora-clang-release-shared-several_libs
# variables:
# OS: "fedora"
# COMPILER: "clang"
# MODE: "release"
# LIB_NATURE: "shared"
# IS_ONLY_ONE_LIB: "False"
......
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