.gitlab-ci.yml 507 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
  script:
9
10
    - git submodule update --init --recursive
    - cd code/build/release
11
    - cmake -G Ninja -DCMAKE_BUILD_TYPE=Release ../../
12
    - ninja
13
    - ninja test
14
  timeout: 2h
15
  only:
16
    refs:
steffen.schotthoefer's avatar
steffen.schotthoefer committed
17
      - develop
18
19
      - master
      - merge_requests
20
21
22
23
24
25
26
    changes:
      - "code/include/**/*"
      - "code/tests/**/*"
      - "code/src/**/*"
      - "code/CMakeLists.txt"
      - "scripts/Dockerfile"
      - ".gitmodules"