ci: add unit tests check #4
					 1 changed files with 6 additions and 8 deletions
				
			
		
							
								
								
									
										14
									
								
								.drone.yml
									
										
									
									
									
								
							
							
						
						
									
										14
									
								
								.drone.yml
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -51,8 +51,9 @@ steps:
 | 
			
		|||
  pull: if-not-exists
 | 
			
		||||
  commands:
 | 
			
		||||
    - |
 | 
			
		||||
      git submodule update --init --recursive
 | 
			
		||||
      set -e
 | 
			
		||||
 | 
			
		||||
      git submodule update --init --recursive
 | 
			
		||||
      conan build . \
 | 
			
		||||
        -c tools.system.package_manager:mode=install \
 | 
			
		||||
        -s build_type=Release \
 | 
			
		||||
| 
						 | 
				
			
			@ -60,13 +61,10 @@ steps:
 | 
			
		|||
        -o enable_tests=True \
 | 
			
		||||
        --build=missing
 | 
			
		||||
 | 
			
		||||
      find ./build \
 | 
			
		||||
        -type f \
 | 
			
		||||
        -name '*_tests' \
 | 
			
		||||
        -executable \
 | 
			
		||||
        -exec sh -c \
 | 
			
		||||
        '{}' \
 | 
			
		||||
        \;
 | 
			
		||||
      for test in $(find ./build -type f -name '*_tests' -executable); do
 | 
			
		||||
        echo "Running $test"
 | 
			
		||||
        "$test"
 | 
			
		||||
      done
 | 
			
		||||
 | 
			
		||||
---
 | 
			
		||||
kind: pipeline
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue