mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	CI: added clang-tidy (closes #1577)
This commit is contained in:
		
				
					committed by
					
						 Benoit Blanchon
						Benoit Blanchon
					
				
			
			
				
	
			
			
			
						parent
						
							9bcb409648
						
					
				
				
					commit
					e32a8552be
				
			
							
								
								
									
										17
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										17
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @@ -362,3 +362,20 @@ jobs: | |||||||
|       - name: MemoryChecker.*.log |       - name: MemoryChecker.*.log | ||||||
|         run: cat Testing/Temporary/MemoryChecker.*.log |         run: cat Testing/Temporary/MemoryChecker.*.log | ||||||
|         if: failure() |         if: failure() | ||||||
|  |  | ||||||
|  |   clang-tidy: | ||||||
|  |     needs: clang | ||||||
|  |     name: Clang-Tidy | ||||||
|  |     runs-on: ubuntu-20.04 | ||||||
|  |     steps: | ||||||
|  |       - name: Install | ||||||
|  |         run: sudo apt-get install -y clang-tidy cmake ninja-build | ||||||
|  |       - name: Checkout | ||||||
|  |         uses: actions/checkout@v2 | ||||||
|  |       - name: Configure | ||||||
|  |         run: cmake -G Ninja -DCMAKE_CXX_CLANG_TIDY="clang-tidy-10;--warnings-as-errors=*" -DCMAKE_BUILD_TYPE=Debug . | ||||||
|  |         env: | ||||||
|  |           CC: clang-10 | ||||||
|  |           CXX: clang++-10 | ||||||
|  |       - name: Check | ||||||
|  |         run: cmake --build . -- -k 0 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user