mirror of
https://github.com/bloeys/nmage.git
synced 2025-12-29 13:28:20 +00:00
Compare commits
9 Commits
6d94efbf97
...
f5a5d72cc4
| Author | SHA1 | Date | |
|---|---|---|---|
| f5a5d72cc4 | |||
| 1bec97b128 | |||
| dea2ac965f | |||
| 93b5f08352 | |||
| 34e19d9c66 | |||
| 372d9ae6b7 | |||
| befc78c628 | |||
| 98f8a96bb7 | |||
| e767f32f2f |
12
.github/workflows/build-nmage.yml
vendored
12
.github/workflows/build-nmage.yml
vendored
@ -1,6 +1,9 @@
|
|||||||
name: build-nmage
|
name: build-nmage
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- dev
|
||||||
create:
|
create:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
@ -16,12 +19,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Install assimp-go dll
|
- name: Install assimp-go dll
|
||||||
run: |
|
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\libassimp-5.dll"
|
||||||
Invoke-WebRequest -Uri "https://github.com/bloeys/assimp-go/releases/download/v0.4.2/libassimp-5.dll" -OutFile "C:\Windows\System32\assimp.dll"
|
|
||||||
|
|
||||||
- name: Install SDL2
|
- name: Download and setup SDL2
|
||||||
run: |
|
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:\mingw64" -Recurse -Force
|
||||||
|
|
||||||
- name: Clone nmage
|
- name: Clone nmage
|
||||||
run: git clone https://github.com/bloeys/nmage
|
run: git clone https://github.com/bloeys/nmage
|
||||||
|
|||||||
Reference in New Issue
Block a user