This commit is contained in:
Li 2022-07-17 17:45:38 +12:00
parent ab769afaf1
commit ca25d54589

View file

@ -58,15 +58,9 @@ jobs:
- name: Build linux-arm64
continue-on-error: false
run: |
dotnet add HISPd package Microsoft.DotNet.ILCompiler --prerelease
cd HISPd
dotnet publish -r linux-arm64 -c Linux /p:Platform=ARM64 --self-contained
dotnet publish -p:PublishProfile=LinuxARM.pubxml
cd ..
mkdir -p HISPd/bin/ARM64/Linux/net7.0/linux-arm64/native/gamedata
cp -r HISPd/bin/ARM64/Linux/net7.0/linux-arm64/publish/gamedata/* HISPd/bin/ARM64/Linux/net7.0/linux-arm64/native/gamedata
cp HISPd/bin/ARM64/Linux/net7.0/linux-arm64/publish/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
dotnet remove HISPd package Microsoft.DotNet.ILCompiler
- name: Build deb package
continue-on-error: false