mirror of https://github.com/procxx/kepka.git
				
				
				
			
		
			
				
	
	
		
			12 lines
		
	
	
		
			445 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			445 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
| #!/bin/bash
 | |
| 
 | |
| set -x
 | |
| 
 | |
| cmake -G Ninja -DCMAKE_BUILD_TYPE=$BUILD_TYPE $EXTRA_CMAKE_FLAGS -DBUILD_TESTING=ON .. || exit 1
 | |
| # grep returns number of items found. each change is enclosed into <replacement>
 | |
| # tag in the xml. Thus if no changes needed, 0 will be returned
 | |
| cmake --build . --target clang-format -- -v
 | |
| git diff --exit-code && echo "Success!" || exit 1
 | |
| cmake --build . -- -v || exit 1
 | |
| ASAN_OPTIONS=alloc_dealloc_mismatch=0 ctest . || exit 1
 |