.gitlab-ci.yml 919 Bytes
Newer Older
Sebastian Volke's avatar
Sebastian Volke committed
1 2
stages:
        - test
3
        - testDebug
Sebastian Volke's avatar
Sebastian Volke committed
4 5 6

buildAndTest:
        stage: test
7 8
        cache:
                paths:
9
                        - build/release
Sebastian Volke's avatar
Sebastian Volke committed
10
        script:
11
                - mkdir -p build
12
                - cd build
13 14
                - mkdir -p release
                - cd release
15
                - cmake ../src -DCMAKE_BUILD_TYPE=Release
16
                - make -j 8
17 18 19
                - make vtest
                - make stylecheck
                - make doc
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
                
buildAndTestDebug:
        stage: testDebug
        cache:
                paths:
                        - build/debug
        script:
                - mkdir -p build
                - cd build
                - mkdir -p debug
                - cd debug
                - cmake ../src -DCMAKE_BUILD_TYPE=Debug
                - make -j 8
                - make vtest
                - make stylecheck
                - make doc