mirror of
				https://github.com/TheLartians/ModernCppStarter.git
				synced 2025-10-31 10:11:34 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			346 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			346 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: Docker
 | |
| 
 | |
| on:
 | |
|   push:
 | |
|     branches:
 | |
|       - master
 | |
|   pull_request:
 | |
|     branches:
 | |
|       - master
 | |
| 
 | |
| jobs:
 | |
|   build:
 | |
| 
 | |
|       runs-on: ubuntu-latest
 | |
| 
 | |
|       steps:
 | |
|       - uses: actions/checkout@v2
 | |
| 
 | |
|       - name: build
 | |
|         run: docker build . -t modern-cpp
 | |
| 
 | |
|       - name: test
 | |
|         run: docker run modern-cpp sh -c "./build/test/GreeterTests"
 |