mirror of
				https://github.com/TheLartians/ModernCppStarter.git
				synced 2025-10-31 02:01:33 +01:00 
			
		
		
		
	init
This commit is contained in:
		
						commit
						c94580f25c
					
				
					 15 changed files with 711 additions and 0 deletions
				
			
		
							
								
								
									
										25
									
								
								.github/workflows/macos.yml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								.github/workflows/macos.yml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,25 @@ | |||
| name: Style | ||||
| 
 | ||||
| on: [push] | ||||
| 
 | ||||
| env: | ||||
|   CTEST_OUTPUT_ON_FAILURE: 1 | ||||
| 
 | ||||
| jobs: | ||||
|   build: | ||||
| 
 | ||||
|     runs-on: macos-latest | ||||
|      | ||||
|     steps: | ||||
|     - uses: actions/checkout@v1 | ||||
|      | ||||
|     - name: configure | ||||
|       run: cmake -Htest -Bbuild | ||||
| 
 | ||||
|     - name: build | ||||
|       run: cmake --build build --config Debug | ||||
| 
 | ||||
|     - name: test | ||||
|       run: | | ||||
|         cd build/debug | ||||
|         ctest --build-config Debug | ||||
							
								
								
									
										20
									
								
								.github/workflows/style.yml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								.github/workflows/style.yml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,20 @@ | |||
| name: MacOS | ||||
| 
 | ||||
| on: [push] | ||||
| 
 | ||||
| jobs: | ||||
|   build: | ||||
| 
 | ||||
|     runs-on: macos-latest | ||||
|      | ||||
|     steps: | ||||
|     - uses: actions/checkout@v1 | ||||
|      | ||||
|     - name: Install clang-format | ||||
|       run: brew install clang-format | ||||
| 
 | ||||
|     - name: configure | ||||
|       run: cmake -Htest -Bbuild | ||||
| 
 | ||||
|     - name: check style | ||||
|       run: cmake --build build --target check-format | ||||
							
								
								
									
										25
									
								
								.github/workflows/ubuntu.yml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								.github/workflows/ubuntu.yml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,25 @@ | |||
| name: Ubuntu | ||||
| 
 | ||||
| on: [push] | ||||
| 
 | ||||
| env: | ||||
|   CTEST_OUTPUT_ON_FAILURE: 1 | ||||
| 
 | ||||
| jobs: | ||||
|   build: | ||||
| 
 | ||||
|     runs-on: ubuntu-latest | ||||
|      | ||||
|     steps: | ||||
|     - uses: actions/checkout@v1 | ||||
|      | ||||
|     - name: configure | ||||
|       run: cmake -Htest -Bbuild | ||||
| 
 | ||||
|     - name: build | ||||
|       run: cmake --build build --config Debug | ||||
| 
 | ||||
|     - name: test | ||||
|       run: | | ||||
|         cd build/debug | ||||
|         ctest --build-config Debug | ||||
							
								
								
									
										25
									
								
								.github/workflows/windows.yml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								.github/workflows/windows.yml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,25 @@ | |||
| name: Windows | ||||
| 
 | ||||
| on: [push] | ||||
| 
 | ||||
| env: | ||||
|   CTEST_OUTPUT_ON_FAILURE: 1 | ||||
| 
 | ||||
| jobs: | ||||
|   build: | ||||
| 
 | ||||
|     runs-on: windows-latest | ||||
|      | ||||
|     steps: | ||||
|     - uses: actions/checkout@v1 | ||||
|      | ||||
|     - name: configure | ||||
|       run: cmake -Htest -Bbuild | ||||
| 
 | ||||
|     - name: build | ||||
|       run: cmake --build build --config Debug | ||||
| 
 | ||||
|     - name: test | ||||
|       run: | | ||||
|         cd build/debug | ||||
|         ctest --build-config Debug | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue