mirror of
https://github.com/bloeys/nmage.git
synced 2025-12-29 05:18:21 +00:00
Update windows gh action
This commit is contained in:
9
.github/workflows/build-nmage.yml
vendored
9
.github/workflows/build-nmage.yml
vendored
@ -16,12 +16,13 @@ jobs:
|
||||
|
||||
- name: Install assimp-go dll
|
||||
run: |
|
||||
New-Item -ItemType Directory -Force -Path C:\Windows\System32
|
||||
Invoke-WebRequest -Uri "https://github.com/bloeys/assimp-go/releases/download/v0.4.2/libassimp-5.dll" -OutFile "C:\Windows\System32\assimp.dll"
|
||||
Invoke-WebRequest -Uri "https://github.com/bloeys/assimp-go/releases/download/v0.4.2/libassimp-5.dll" -OutFile "C:\Windows\System32\libassimp-5.dll"
|
||||
|
||||
- name: Install SDL2
|
||||
- name: Download and setup SDL2
|
||||
run: |
|
||||
choco install sdl2 sdl2_image sdl2_ttf sdl2_gfx pkg-config
|
||||
Invoke-WebRequest -Uri "https://github.com/libsdl-org/SDL/releases/download/release-2.30.7/SDL2-devel-2.30.7-mingw.zip" -OutFile "SDL2.zip"
|
||||
Expand-Archive -Path "SDL2.zip" -DestinationPath "SDL2"
|
||||
Copy-Item -Path "SDL2\SDL2-2.30.7\x86_64-w64-mingw32\*" -Destination "C:\msys64\mingw64" -Recurse -Force
|
||||
|
||||
- name: Clone nmage
|
||||
run: git clone https://github.com/bloeys/nmage
|
||||
|
||||
Reference in New Issue
Block a user