mirror of
				https://github.com/DarkflameUniverse/DarkflameServer.git
				synced 2025-10-31 20:52:01 +00:00 
			
		
		
		
	Run tests with CI
This commit is contained in:
		
							
								
								
									
										34
									
								
								.github/workflows/build-and-test.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								.github/workflows/build-and-test.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,34 @@ | ||||
| name: Cmake CI | ||||
|  | ||||
| on: | ||||
|   push: | ||||
|     branches: [ main ] | ||||
|   pull_request: | ||||
|     branches: [ main ] | ||||
|  | ||||
| jobs: | ||||
|   build: | ||||
|  | ||||
|     runs-on: ubuntu-latest | ||||
|  | ||||
|     steps: | ||||
|     - uses: actions/checkout@v2 | ||||
|       with: | ||||
|         submodules: true | ||||
|     - name: cmake | ||||
|       uses: lukka/run-cmake@v10 | ||||
|       with: | ||||
|         configurePreset: 'default' | ||||
|         buildPreset: 'default' | ||||
|         testPreset: 'default' | ||||
|     - name: artifacts | ||||
|       uses: actions/upload-artifact@v2 | ||||
|       with: | ||||
|         name: linux-build | ||||
|         path: | | ||||
|           build | ||||
|           !build/CMakeCache.txt | ||||
|           !build/build.ninja | ||||
|           !build/_deps | ||||
|           !build/cmake_install.cmake | ||||
|           !build/*.a | ||||
		Reference in New Issue
	
	Block a user
	 Xiphoseer
					Xiphoseer