.gitlab-ci.yml 554 Bytes
Newer Older
1
image: rtsn/test:latest
2
3

stages:
Jannick Wolters's avatar
Jannick Wolters committed
4
  - unit_tests
5

Jannick Wolters's avatar
Jannick Wolters committed
6
7
unit_tests:
  stage: unit_tests
8
9
  variables:
    CTEST_OUTPUT_ON_FAILURE: TRUE
10
  script:
11
12
    - git submodule update --init --recursive
    - cd code/build/release
13
    - cmake -G Ninja -DCMAKE_BUILD_TYPE=Release ../../
14
    - ninja
15
    - ninja test
16
  timeout: 2h
17
  only:
18
    refs:
steffen.schotthoefer's avatar
steffen.schotthoefer committed
19
      - develop
20
21
      - master
      - merge_requests
22
23
24
25
26
27
28
    changes:
      - "code/include/**/*"
      - "code/tests/**/*"
      - "code/src/**/*"
      - "code/CMakeLists.txt"
      - "scripts/Dockerfile"
      - ".gitmodules"