.gitlab-ci.yml 505 Bytes
Newer Older
Andrey Zhdanov's avatar
Andrey Zhdanov committed
1 2 3
image: generic-c

stages:
Andrey Zhdanov's avatar
Andrey Zhdanov committed
4
  - check 
Andrey Zhdanov's avatar
Andrey Zhdanov committed
5 6
  - test

Andrey Zhdanov's avatar
Andrey Zhdanov committed
7 8 9 10 11
linter:
  stage: check
  script:
    - cd solution ; echo "Running linter" ; cat /run-checks.sh
    - /run-checks.sh
Andrey Zhdanov's avatar
Andrey Zhdanov committed
12 13 14 15 16 17 18 19 20

test:
  stage: test 
  script:
    - cmake -B ./build/ -G "Ninja Multi-Config" -DCMAKE_C_COMPILER=clang
    - cmake --build ./build/ --config ASan  --target check
    - cmake --build ./build/ --config LSan  --target check
    - cmake --build ./build/ --config MSan  --target check
    - cmake --build ./build/ --config UBSan --target check