Поддержка Clang-Tidy
This commit is contained in:
		@@ -36,3 +36,7 @@ check-format-sources:
 | 
			
		||||
analyze-pvs:
 | 
			
		||||
  when: manual
 | 
			
		||||
  extends: .analyze-pvs
 | 
			
		||||
 | 
			
		||||
analyze-clang-tidy:
 | 
			
		||||
  when: manual
 | 
			
		||||
  extends: .analyze-clang-tidy
 | 
			
		||||
 
 | 
			
		||||
@@ -160,3 +160,17 @@ variables:
 | 
			
		||||
        plog-converter -a "GA:1,2,3;64:1;OP:1,2;CS:1,2" -t errorfile PVS-Studio.log
 | 
			
		||||
      fi
 | 
			
		||||
 | 
			
		||||
.analyze-clang-tidy:
 | 
			
		||||
  variables:
 | 
			
		||||
    CMAKE_GENERATOR: Ninja
 | 
			
		||||
  image: jammy-dev
 | 
			
		||||
  tags: ['analyze']
 | 
			
		||||
  script:
 | 
			
		||||
    - >
 | 
			
		||||
      if [ -n "${CUSTOM_ANALYZE_CLANG_TIDY}" ]; then
 | 
			
		||||
        ${CUSTOM_ANALYZE_CLANG_TIDY}
 | 
			
		||||
      else
 | 
			
		||||
        cmake -DCMAKE_CXX_CLANG_TIDY="clang-tidy" -B build .
 | 
			
		||||
        cmake --build build -j
 | 
			
		||||
      fi
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user