.gitlab-ci.yml 861 Bytes
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-libraries=serialization,random,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

Martin Beseda's avatar
Martin Beseda committed
37