.gitlab-ci.yml 1.31 KB
Newer Older
1 2 3 4 5 6 7 8
# Windows 10 with Boost and Exprtk 
# downloaded and compiled locally as
# submodules
#
# Checks only compilation, not unit-tests!
win_1:
    tags:
        - Win
Martin Beseda's avatar
Martin Beseda committed
9

10
    before_script:
Martin Beseda's avatar
Martin Beseda committed
11
        - call VsDevCmd.bat
Martin Beseda's avatar
Martin Beseda committed
12
        - call download_dependencies.bat
Martin Beseda's avatar
Martin Beseda committed
13
        - cd external_dependencies\boost\
Martin Beseda's avatar
Martin Beseda committed
14
        - call bootstrap.bat --with-serialization --with-random --with-system 
Martin Beseda's avatar
Martin Beseda committed
15
        - .\b2 --layout=system variant=release link=shared address-model=64
Martin Beseda's avatar
Martin Beseda committed
16
        - cd ..\..
17 18

    script:
Martin Beseda's avatar
Martin Beseda committed
19
        - 'call build-ci.bat'
20

21 22 23
# Latest Ubuntu with Boost and Exprtk 
# in system directories
ubuntu_1:
Martin Beseda's avatar
Martin Beseda committed
24 25
    tags:
        - centos7
Martin Beseda's avatar
Martin Beseda committed
26

27
    image: martinbeseda/dockertest:latest
Martin Beseda's avatar
Martin Beseda committed
28

29 30 31 32 33
    before_script:
        - git clone https://github.com/ArashPartow/exprtk.git
        - cp exprtk/exprtk.hpp /usr/include
        - export TERM=xterm
        - ./build-ci.sh
34

35
    script: "./run_tests.sh"
36

37 38 39
# Latest Ubuntu with Boost and Exprtk
# compiled locally as submodules
ubuntu_2:
40 41 42
    tags:
        - centos7

43 44 45 46 47 48 49 50 51 52 53 54 55
    image: ubuntu:latest

    before_script:
        - call VsDevCmd.bat
        - call download_dependencies.bat
        - cd external_dependencies/boost
        - ./bootstrap.sh --with-serialization --with-random --with-system 
        - ./b2 --layout=system variant=release link=shared address-model=64
        - cd ../..

    script:
        - './build-ci.sh'