Skip to content
Snippets Groups Projects
Commit 00ad2027 authored by David Gilbert's avatar David Gilbert :bug:
Browse files

ci: Uses different analyze image & logs version error.

parent 7baa5054
No related branches found
No related tags found
2 merge requests!90Draft: Forward propagate dev/5.3 changes into 5.4,!85UE5.3-2023.1-rc3
Pipeline #399850 failed
...@@ -51,7 +51,7 @@ stages: ...@@ -51,7 +51,7 @@ stages:
- deploy - deploy
clang-format: clang-format:
image: registry.git-ce.rwth-aachen.de/vr-vis/vr-group/unreal-development/plugins/rwth-vr-toolkit/alpine-analyze:latest image: registry.git-ce.rwth-aachen.de/vr-vis/vr-group/alpine-analyze:latest
tags: tags:
- docker-executor - docker-executor
- linux - linux
...@@ -69,7 +69,7 @@ clang-format: ...@@ -69,7 +69,7 @@ clang-format:
- echo $CI_MERGE_REQUEST_DIFF_BASE_SHA - echo $CI_MERGE_REQUEST_DIFF_BASE_SHA
- linter_errors=$(unbuffer git-clang-format --commit "$CI_MERGE_REQUEST_DIFF_BASE_SHA" *.h *.cpp -q --diff | grep -v --color=always "no modified files to format" || true) - linter_errors=$(unbuffer git-clang-format --commit "$CI_MERGE_REQUEST_DIFF_BASE_SHA" *.h *.cpp -q --diff | grep -v --color=always "no modified files to format" || true)
- echo "$linter_errors" - echo "$linter_errors"
- if [ ! -z "$linter_errors" ]; then echo "Detected formatting issues; please fix"; exit 1; else echo "Formatting is correct"; exit 0; fi - if [ ! -z "$linter_errors" ]; then echo "Detected formatting issues; please fix. Make sure you are using the same clang-format version! You can download it from the development section in this repo's wiki."; exit 1; else echo "Formatting is correct"; exit 0; fi
Generate_Project: Generate_Project:
rules: rules:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment