chore: integrate vcpkg before installing sdl2
This commit is contained in:
		
							
								
								
									
										3
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
								
							@@ -1,4 +1,4 @@
 | 
			
		||||
on: [push]
 | 
			
		||||
on: [push, workflow_dispatch]
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  build:
 | 
			
		||||
@@ -21,6 +21,7 @@ jobs:
 | 
			
		||||
      - name: prepare-windows
 | 
			
		||||
        if: runner.os == 'Windows'
 | 
			
		||||
        run: |
 | 
			
		||||
            vcpkg integrate install
 | 
			
		||||
            vcpkg install sdl2:x64-windows
 | 
			
		||||
      - name: build 
 | 
			
		||||
        run: zig build -Drelease-safe
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user