Skip to content
Snippets Groups Projects
.gitlab-ci.yml 2.61 KiB
Newer Older
## Windows 10 with dependencies
## downloaded (and compiled) locally
#win_visual_studio_static_local_deps:
#    tags:
#        - Win
#
#    image: windows:latest
#
#    before_script:
#        - call VsDevCmd.bat
#        - set DEPENDENCIES_LINK_TYPE=static
#        - set clean_after=yes
#        - call build_scripts\windows\win_VS_build_x64_release.bat
#
#    script:
##        - cd ..\..
#        - cd build_scripts\windows
##        - call win_run_tests.bat
#        - cd ..\..
#
## Latest Ubuntu with dependencies
## in system directories, Boost
## installed from the official repository
#ubuntu_boost_system:
#    image: martinbeseda/lib4neuro-ubuntu-system-deps:latest
#
#    before_script:
#        - export TERM=xterm
#        - cd build_scripts/linux
#        - export DEPENDENCIES_LINK_TYPE=shared
#        - export CLEAN_AFTER=yes
#        - ./linux_gcc_build_x64_debug_system.sh
#
#    script:
#        - cd ../..
#        - cd build_scripts/linux
##        - './linux_run_tests.sh'
#        - cd ../..
#
## Latest Ubuntu with dependencies
## downloaded (and compiled) locally
#ubuntu_boost_local_static_deps:
#    image: martinbeseda/ubuntu-ci:latest
#
#    before_script:
#        - export TERM=xterm
#        - cd build_scripts/linux
#        - export DEPENDENCIES_LINK_TYPE=static
#        - export CLEAN_AFTER=yes
#        - ./linux_gcc_build_x64_debug_local.sh
#
#    script:
#        - cd ../..
#        - cd build_scripts/linux
##        - './linux_run_tests.sh'
#        - cd ../..
#
## Latest CentOS with dependencies
## downloaded (and compiled) locally
#centos_local_deps:
#    image: martinbeseda/centos-ci:latest
#
#    before_script:
#        - scl enable devtoolset-8 -- bash
#        - export TERM=xterm
#        - cd build_scripts/linux
#        - export DEPENDENCIES_LINK_TYPE=static
#        - export CLEAN_AFTER=yes
#        - ./linux_gcc_build_x64_debug_local.sh
#
#    script:
#        - cd ../..
#        - cd build_scripts/linux
##        - './linux_run_tests.sh'
# Latest CentOS with dependencies
# downloaded (and compiled) locally
test_centos_gcc_version:
    image: martinbeseda/centos-ci:latest

    before_script:
        - echo "ahoj"
        - scl enable devtoolset-8 bash
        - scl enable devtoolset-8 -- bash
        - yum -y install centos-release-scl
        - yum -y install devtoolset-8-gcc
        - yum -y install devtoolset-8-gcc-c++ devtoolset-8-gcc-gfortran
        - scl enable devtoolset-8 bash
        - scl enable devtoolset-8 -- bash
        - gcc --version
        - g++ --version
        - gfortran --version
        - cd ../..
        - cd build_scripts/linux
#        - './linux_run_tests.sh'