mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-06 21:25:42 +12:00
update build.yml
This commit is contained in:
parent
88d2945065
commit
e66d1f9298
1 changed files with 2 additions and 5 deletions
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
@ -27,7 +27,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y dos2unix
|
sudo apt install -y dos2unix
|
||||||
sudo apt install -y tree
|
|
||||||
- name: Restore dependencies
|
- name: Restore dependencies
|
||||||
run: |
|
run: |
|
||||||
dotnet restore LibHISP
|
dotnet restore LibHISP
|
||||||
|
@ -39,11 +39,10 @@ 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 --self-contained
|
dotnet publish -r linux-x64 -c Linux --self-contained
|
||||||
tree
|
|
||||||
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"
|
||||||
cp "HISPd/bin/x64/Linux/net7.0/linux-x64/publish/e_sqlite3.so" "HISPd/bin/x64/Linux/net7.0/linux-x64/native/e_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"
|
||||||
|
@ -66,8 +65,6 @@ jobs:
|
||||||
- name: Build deb package
|
- name: Build deb package
|
||||||
continue-on-error: false
|
continue-on-error: false
|
||||||
run: |
|
run: |
|
||||||
apt update
|
|
||||||
apt install -y dos2unix
|
|
||||||
mkdir /tmp/debpkg
|
mkdir /tmp/debpkg
|
||||||
mkdir /tmp/debpkg/Debian64
|
mkdir /tmp/debpkg/Debian64
|
||||||
mkdir /tmp/debpkg/Debian64/etc
|
mkdir /tmp/debpkg/Debian64/etc
|
||||||
|
|
Loading…
Add table
Reference in a new issue