Update .gitlab-ci.yml file
This commit is contained in:
		
							parent
							
								
									54ee2719bf
								
							
						
					
					
						commit
						1fba14c615
					
				@ -33,13 +33,11 @@ build-job:       # This job runs in the build stage, which runs first.
 | 
				
			|||||||
    - cmake ..
 | 
					    - cmake ..
 | 
				
			||||||
    - cmake --build .
 | 
					    - cmake --build .
 | 
				
			||||||
    - echo "Compile complete."
 | 
					    - echo "Compile complete."
 | 
				
			||||||
    - ls -la
 | 
					 | 
				
			||||||
    - echo "build files listed."
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
unit-test-job:   # This job runs in the test stage.
 | 
					unit-test-job:   # This job runs in the test stage.
 | 
				
			||||||
  stage: test    # It only starts when the job in the build stage completes successfully.
 | 
					  stage: test    # It only starts when the job in the build stage completes successfully.
 | 
				
			||||||
  script:
 | 
					  script:
 | 
				
			||||||
    - cd build
 | 
					    - ls -la
 | 
				
			||||||
    - echo "Running unit tests..."
 | 
					    - echo "Running unit tests..."
 | 
				
			||||||
    - ctest
 | 
					    - ctest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user