Skip to content
Snippets Groups Projects
.gitlab-ci.yml 1.85 KiB
# Windows 10 with Boost and Exprtk 
# downloaded and compiled locally as
# submodules
win_visual_studio:
    tags:
        - Win

    before_script:
        - call VsDevCmd.bat
        - cd build_scripts\windows
        - call win_download_dependencies.bat
        - cd ..\..
        - cd build_scripts\windows
        - setx DEPENDENCIES_LINK_TYPE shared
        - call win_VS_build_x64_debug.bat

    script:
        - call win_run_tests.bat

# Latest Ubuntu with Boost and Exprtk 
# in system directories
ubuntu_boost_system:
    tags:
        - centos7

    image: martinbeseda/dockertest:latest

    before_script:
        - git clone https://github.com/ArashPartow/exprtk.git
        - cp exprtk/exprtk.hpp /usr/include
        - export TERM=xterm
        - cd build_scripts/linux
        - export DEPENDENCIES_LINK_TYPE=shared
        - ./linux_gcc_build_x64_debug_system.sh

    script:
        - './linux_run_tests.sh'

# Latest Ubuntu with Boost and Exprtk
# compiled locally as submodules and
# linked statically
ubuntu_boost_local_static_deps:
    tags:
        - centos7

    image: martinbeseda/ubuntu-ci:latest

    before_script:
        - cd build_scripts/linux
        - ./download_dependencies.sh
        - cd ../..
        - cd build_scripts/linux
        - export DEPENDENCIES_LINK_TYPE=static
        - ./linux_gcc_build_x64_debug_local.sh

    script:
        - './linux_run_tests.sh'

# Latest Ubuntu with Boost and Exprtk
# compiled locally as submodules and
# linked dynamically
ubuntu_boost_local_dynamic_deps:
    tags:
        - centos7

    image: martinbeseda/ubuntu-ci:latest

    before_script:
        - cd build_scripts/linux
        - ./download_dependencies.sh
        - cd ../..
        - cd build_scripts/linux
        - export DEPENDENCIES_LINK_TYPE=shared
        - ./linux_gcc_build_x64_debug_local.sh

    script:
        - './linux_run_tests.sh'