Update build script

This commit is contained in:
Li 2022-07-17 16:05:49 +12:00
parent 03035cd5fb
commit 7fb2673de0
3 changed files with 8 additions and 8 deletions

View file

@ -37,12 +37,12 @@ jobs:
cd HISPd cd HISPd
dotnet publish -r linux-x64 -c Linux --self-contained dotnet publish -r linux-x64 -c Linux --self-contained
mkdir "HISPd\bin\x64\Linux\net7.0\linux-x64\native\gamedata" mkdir "HISPd\bin\x64\Linux\net7.0\linux-x64\native\gamedata"
copy "..\HorseIsleData\gamedata\*" "HISPd\bin\x64\Linux\net7.0\linux-x64\native\gamedata" cp "..\HorseIsleData\gamedata\*" "HISPd\bin\x64\Linux\net7.0\linux-x64\native\gamedata"
copy "..\HorseIsleData\HI1.MAP" "HISPd\bin\x64\Linux\net7.0\linux-x64\native\HI1.MAP" cp "..\HorseIsleData\HI1.MAP" "HISPd\bin\x64\Linux\net7.0\linux-x64\native\HI1.MAP"
copy "HISPd\bin\x64\Linux\net7.0\linux-x64\e_sqlite3.dll" "HISPd\bin\x64\Linux\net7.0\linux-x64\native\e_sqlite3.dll" cp "HISPd\bin\x64\Linux\net7.0\linux-x64\e_sqlite3.dll" "HISPd\bin\x64\Linux\net7.0\linux-x64\native\e_sqlite3.dll"
del "HISPd\bin\x64\Linux\net7.0\linux-x64\native\HISPd.pdb" rm -f "HISPd\bin\x64\Linux\net7.0\linux-x64\native\HISPd.pdb"
del "HISPd\bin\x64\Linux\net7.0\linux-x64\native\HISPd.lib" rm -f "HISPd\bin\x64\Linux\net7.0\linux-x64\native\HISPd.lib"
del "HISPd\bin\x64\Linux\net7.0\linux-x64\native\HISPd.exp" rm -f "HISPd\bin\x64\Linux\net7.0\linux-x64\native\HISPd.exp"
dotnet remove HISPd package Microsoft.DotNet.ILCompiler dotnet remove HISPd package Microsoft.DotNet.ILCompiler
cd .. cd ..

View file

@ -46,7 +46,7 @@
<RepositoryUrl>https://github.com/islehorse/HISP</RepositoryUrl> <RepositoryUrl>https://github.com/islehorse/HISP</RepositoryUrl>
<RepositoryType>git</RepositoryType> <RepositoryType>git</RepositoryType>
<WarningLevel>3</WarningLevel> <WarningLevel>3</WarningLevel>
<NoWarn>1701;1702;2026</NoWarn> <NoWarn>1701;1702;2026;IL2026</NoWarn>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Windows|x86'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Windows|x86'">

View file

@ -55,7 +55,7 @@
<RepositoryUrl>https://github.com/islehorse/HISP</RepositoryUrl> <RepositoryUrl>https://github.com/islehorse/HISP</RepositoryUrl>
<RepositoryType>git</RepositoryType> <RepositoryType>git</RepositoryType>
<WarningLevel>3</WarningLevel> <WarningLevel>3</WarningLevel>
<NoWarn>1701;1702;2026</NoWarn> <NoWarn>1701;1702;2026;IL2026</NoWarn>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Windows|x86'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Windows|x86'">