.gitlab-ci.yml 946 Bytes
Newer Older
Edwin Carlinet's avatar
Edwin Carlinet committed
1 2 3 4 5
stages:
    - build
    - test
    - deploy

Edwin Carlinet's avatar
Edwin Carlinet committed
6 7 8
variables:
    GIT_SUBMODULE_STRATEGY: normal

Edwin Carlinet's avatar
Edwin Carlinet committed
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
.job-build-linux-base: &distcheck-linux-base
    stage: test
    image: carlinet/buildimage
    script:
        - mkdir build && cd build
        - cmake .. -DCMAKE_BUILD_TYPE=$PYLENE_CONFIGURATION
        - cmake --build . --target all


distcheck-linux-gcc-release:
    <<: *distcheck-linux-base
    variables:
        PYLENE_CONFIGURATION: "Release"
        CXX: "g++"
        CC: "gcc"

distcheck-linux-clang-release:
    <<: *distcheck-linux-base
    variables:
        PYLENE_CONFIGURATION: "Release"
        CXX: "clang++"
        CC: "clang"

distcheck-linux-gcc-debug:
    <<: *distcheck-linux-base
    variables:
        PYLENE_CONFIGURATION: "Debug"
        CXX: "g++"
        CC: "gcc"

distcheck-linux-clang-debug:
    <<: *distcheck-linux-base
    variables:
        PYLENE_CONFIGURATION: "Debug"
        CXX: "clang++"
        CC: "clang"