mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-06 05:05:40 +12:00
native ARM64 linux:
This commit is contained in:
parent
7fe1d79158
commit
62905cce9a
5 changed files with 20 additions and 8 deletions
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
|
@ -42,7 +42,7 @@ jobs:
|
|||
dotnet publish -r linux-x64 -c Linux /p:Platform=x64 --self-contained
|
||||
cd ..
|
||||
mkdir -p "HISPd/bin/x64/Linux/net7.0/linux-x64/native/gamedata"
|
||||
cp -r "../HorseIsleData/gamedata" "HISPd/bin/x64/Linux/net7.0/linux-x64/native"
|
||||
cp -r "../HorseIsleData/gamedata/*" "HISPd/bin/x64/Linux/net7.0/linux-x64/native/gamedata"
|
||||
cp "../HorseIsleData/HI1.MAP" "HISPd/bin/x64/Linux/net7.0/linux-x64/native/HI1.MAP"
|
||||
cp "HISPd/bin/x64/Linux/net7.0/linux-x64/publish/libe_sqlite3.so" "HISPd/bin/x64/Linux/net7.0/linux-x64/native/libe_sqlite3.so"
|
||||
rm -f "HISPd/bin/x64/Linux/net7.0/linux-x64/native/HISPd.pdb"
|
||||
|
@ -57,12 +57,22 @@ jobs:
|
|||
cd HISPd
|
||||
dotnet publish -p:PublishProfile=LinuxARM.pubxml
|
||||
cd ..
|
||||
|
||||
- name: Build linux-arm64
|
||||
continue-on-error: false
|
||||
run: |
|
||||
dotnet add HISPd package Microsoft.DotNet.ILCompiler --prerelease
|
||||
cd HISPd
|
||||
dotnet publish -p:PublishProfile=LinuxARM64.pubxml
|
||||
dotnet publish -r linux-arm64 -c Linux /p:Platform=ARM64 --self-contained
|
||||
cd ..
|
||||
mkdir -p "HISPd/bin/ARM64/Linux/net7.0/linux-arm64/native/gamedata"
|
||||
cp -r "../HorseIsleData/gamedata/*" "HISPd/bin/ARM64/Linux/net7.0/linux-arm64/native/gamedata"
|
||||
cp "../HorseIsleData/HI1.MAP" "HISPd/bin/ARM64/Linux/net7.0/linux-arm64/native/HI1.MAP"
|
||||
cp "HISPd/bin/ARM64/Linux/net7.0/linux-arm64/publish/libe_sqlite3.so" "HISPd/bin/ARM64/Linux/net7.0/linux-arm64/native/libe_sqlite3.so"
|
||||
rm -f "HISPd/bin/ARM64/Linux/net7.0/linux-arm64/native/HISPd.pdb"
|
||||
rm -f "HISPd/bin/ARM64/Linux/net7.0/linux-arm64/native/HISPd.lib"
|
||||
rm -f "HISPd/bin/ARM64/Linux/net7.0/linux-arm64/native/HISPd.exp"
|
||||
dotnet remove HISPd package Microsoft.DotNet.ILCompiler
|
||||
|
||||
- name: Build deb package
|
||||
continue-on-error: false
|
||||
|
@ -178,10 +188,10 @@ jobs:
|
|||
cd HISPd
|
||||
dotnet publish -r win-x64 -c Windows /p:Platform=x64 --self-contained
|
||||
cd ..
|
||||
tree /F /A
|
||||
mkdir "HISPd\bin\x64\Windows\net7.0\win-x64\native\gamedata"
|
||||
copy "..\HorseIsleData\gamedata\*" "HISPd\bin\x64\Windows\net7.0\win-x64\native\gamedata"
|
||||
copy "..\HorseIsleData\HI1.MAP" "HISPd\bin\x64\Windows\net7.0\win-x64\native\HI1.MAP"
|
||||
tree /F /A
|
||||
copy "HISPd\bin\x64\Windows\net7.0\win-x64\publish\e_sqlite3.dll" "HISPd\bin\x64\Windows\net7.0\win-x64\native\e_sqlite3.dll"
|
||||
del "HISPd\bin\x64\Windows\net7.0\win-x64\native\HISPd.pdb"
|
||||
del "HISPd\bin\x64\Windows\net7.0\win-x64\native\HISPd.lib"
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
<LangVersion>10.0</LangVersion>
|
||||
<Platforms>x64;x86;ARM;ARM64;AnyCPU</Platforms>
|
||||
<Configurations>Debug;Windows;Linux;MacOS;Android;iOS</Configurations>
|
||||
<IlcOptimizationPreference>Speed</IlcOptimizationPreference>
|
||||
<StripSymbols>true</StripSymbols>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\LibHISP\LibHISP.csproj" />
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Package: hisp
|
||||
Version: 1.7.59
|
||||
Version: 1.7.70
|
||||
Depends: coreutils,systemd,mariadb-server,libsqlite3-dev,zlib1g-dev,libicu-dev,libkrb5-dev
|
||||
Maintainer: Li
|
||||
Homepage: https://islehorse.com
|
||||
|
|
|
@ -30,5 +30,5 @@ using System.Runtime.InteropServices;
|
|||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
[assembly: AssemblyVersion("1.7.59.0")]
|
||||
[assembly: AssemblyFileVersion("1.7.59.0")]
|
||||
[assembly: AssemblyVersion("1.7.70.0")]
|
||||
[assembly: AssemblyFileVersion("1.7.70.0")]
|
||||
|
|
|
@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
|
|||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.7.59.0")]
|
||||
[assembly: AssemblyFileVersion("1.7.59.0")]
|
||||
[assembly: AssemblyVersion("1.7.70.0")]
|
||||
[assembly: AssemblyFileVersion("1.7.70.0")]
|
||||
|
|
Loading…
Add table
Reference in a new issue