mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-06 05:05:40 +12:00
native build x86
This commit is contained in:
parent
2de85889d3
commit
f9ef53339d
1 changed files with 8 additions and 3 deletions
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
|
@ -46,8 +46,13 @@ jobs:
|
|||
- name: Build win-x86
|
||||
continue-on-error: false
|
||||
run: |
|
||||
dotnet publish -p:PublishProfile=Win32.pubxml
|
||||
|
||||
dotnet add HISPd package Microsoft.DotNet.ILCompiler --prerelease
|
||||
dotnet publish -r win-x86 -c Windows --self-contained
|
||||
mkdir "HISPd\bin\x86\Windows\net7.0\win-x86\native\gamedata"
|
||||
copy "..\HorseIsleData\gamedata\*" "HISPd\bin\x86\Windows\net7.0\win-x86\native\gamedata"
|
||||
copy "..\HorseIsleData\HI1.MAP" "HISPd\bin\x86\Windows\net7.0\win-x86\native\HI1.MAP"
|
||||
copy "HISPd\bin\x86\Windows\net7.0\win-x86\e_sqlite3.dll" "HISPd\bin\x86\Windows\net7.0\win-x86\native\e_sqlite3.dll"
|
||||
dotnet remove HISPd package Microsoft.DotNet.ILCompiler
|
||||
- name: Build win-arm
|
||||
continue-on-error: false
|
||||
run: |
|
||||
|
@ -141,7 +146,7 @@ jobs:
|
|||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: HISP-Win32
|
||||
path: HorseIsleServer\HISPd\bin\x86\Windows\net7.0\win-x86\publish\
|
||||
path: HorseIsleServer\HISPd\bin\x86\Windows\net7.0\win-x86\native\
|
||||
|
||||
- name: Upload win-arm
|
||||
uses: actions/upload-artifact@v2
|
||||
|
|
Loading…
Add table
Reference in a new issue