Compare commits
	
		
			6 Commits
		
	
	
		
			main
			...
			0d13934f56
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 0d13934f56 | |||
| 990f44d6c1 | |||
| 91f9aa1b58 | |||
| e916ebf621 | |||
| 61f584265b | |||
| 157e0c7986 | 
							
								
								
									
										38
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,38 @@ | ||||
| on: [push, workflow_dispatch] | ||||
|  | ||||
| jobs: | ||||
|   build: | ||||
|     strategy: | ||||
|       matrix: | ||||
|         os: [ubuntu-latest, windows-latest] | ||||
|     runs-on: ${{matrix.os}} | ||||
|     steps: | ||||
|       - uses: actions/checkout@v2 | ||||
|         with: | ||||
|           submodules: true | ||||
|       - uses: goto-bus-stop/setup-zig@v1 | ||||
|         with: | ||||
|           version: master | ||||
|       - name: prepare-linux | ||||
|         if: runner.os == 'Linux' | ||||
|         run: | | ||||
|             sudo apt-get update | ||||
|             sudo apt-get install libsdl2-dev | ||||
|       - name: prepare-windows | ||||
|         if: runner.os == 'Windows' | ||||
|         run: | | ||||
|             vcpkg integrate install | ||||
|             vcpkg install sdl2:x64-windows | ||||
|       - name: build  | ||||
|         run: zig build -Drelease-safe | ||||
|   lint: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps:  | ||||
|       - uses: actions/checkout@v2 | ||||
|         with: | ||||
|           submodules: true | ||||
|       - uses: goto-bus-stop/setup-zig@v1 | ||||
|         with: | ||||
|           version: master | ||||
|       - run: zig fmt src/**/*.zig | ||||
|    | ||||
		Reference in New Issue
	
	Block a user