Commit 4a01ae17 authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#1360 Gitlab - CI: try a very simple test (akin to a hell world) to see if I...

#1360 Gitlab - CI: try a very simple test (akin to a hell world) to see if I am correctly doing the Docker runner. The error I get currently is related to zsh, so maybe I can skip using this shell in my Docker images, but I will check step by step what is working or not.
parent f4aefd3b
......@@ -8,134 +8,147 @@ stages:
# Todo: Doxygen doc should be published with pages.
# Test for Docker executor!:
build-Ubuntu-gcc-debug-shared-several_libs:
stage: stage1
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:
- 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
- ninja -j 4
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-gcc-debug-shared-several_libs:
# stage: stage1
# 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:
# - 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
# - ninja -j 4
build-Ubuntu-debug-shared-several_libs:
build-test:
stage: stage1
image: ubuntu:latest
cache:
key: "$CI_COMMIT_REF_SLUG_Ubuntu-debug-shared-several_libs"
key: "$CI_COMMIT_REF_SLUG_simple_test"
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
tags:
- Fedora
- debug
- shared
- several_libs
script:
- cd build && ctest
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
tags:
- Fedora
- release
- static
- unique_lib
- docker-test
script:
- cd build && ctest
- pwd
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-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
# tags:
# - Fedora
# - debug
# - shared
# - several_libs
# script:
# - cd build && ctest
#
# 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
# tags:
# - Fedora
# - release
# - static
# - unique_lib
# script:
# - cd build && ctest
#
#
# 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)
......
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