Skip to content
Snippets Groups Projects
Commit 85c1e457 authored by webmanue's avatar webmanue
Browse files

Merge remote-tracking branch 'origin/master' into 5-generate-documentation-in-ci

parents 59c9fd41 8ca21617
No related branches found
No related tags found
No related merge requests found
Pipeline #77667 failed
BasedOnStyle: LLVM
......@@ -15,6 +15,7 @@
stages:
- images
- analyze
- build
.build-image: &build-image
......@@ -50,6 +51,18 @@ build-image-docu:
IMAGE_NAME: "docu"
<<: *build-image
check-code-format:
stage: analyze
image: $CI_REGISTRY_IMAGE/dev:$CI_COMMIT_REF_SLUG
script:
- >
find . \
-name "*.h" -print0 \
-o \
-name "*.cc" -print0 | \
xargs -0 -I {} -P $(nproc) \
bash -c 'diff <(cat {}) <(clang-format {})'
build-library:
stage: build
image: $CI_REGISTRY_IMAGE/dev:$CI_COMMIT_REF_SLUG
......
......@@ -18,6 +18,7 @@ ARG DEBIAN_FRONTEND=noninteractive
FROM $BASE_IMAGE
RUN apt-get update && apt-get install -y clang-format
RUN apt-get update && apt-get install -y cmake
RUN apt-get update && apt-get install -y g++
RUN apt-get update && apt-get install -y googletest
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment