Working dirs are ass

This commit is contained in:
Li 2022-07-17 17:12:35 +12:00
parent 114ba568b7
commit b30f195080

View file

@ -40,16 +40,17 @@ jobs:
dotnet add HISPd package Microsoft.DotNet.ILCompiler --prerelease dotnet add HISPd package Microsoft.DotNet.ILCompiler --prerelease
cd HISPd cd HISPd
dotnet publish -r linux-x64 -c Linux /p:Platform=x64 --self-contained 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" 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"
cp "../../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"
tree tree
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" 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" rm -f "HISPd/bin/x64/Linux/net7.0/linux-x64/native/HISPd.pdb"
rm -f "HISPd/bin/x64/Linux/net7.0/linux-x64/native/HISPd.lib" rm -f "HISPd/bin/x64/Linux/net7.0/linux-x64/native/HISPd.lib"
rm -f "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 ..
- name: Build linux-arm - name: Build linux-arm
continue-on-error: false continue-on-error: false