mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-06 05:05:40 +12:00
add macos MPNoobs build task
This commit is contained in:
parent
a50d052c2a
commit
663106ca34
6 changed files with 32 additions and 18 deletions
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
|
@ -332,6 +332,9 @@ jobs:
|
|||
cd HISPd
|
||||
dotnet publish -p:PublishProfile=Osx64.pubxml
|
||||
cd ..
|
||||
cd MPN00BS
|
||||
dotnet publish -p:PublishProfile=Osx64.pubxml
|
||||
cd ..
|
||||
- name: Build mac-arm64
|
||||
continue-on-error: false
|
||||
run: |
|
||||
|
@ -350,6 +353,12 @@ jobs:
|
|||
name: HISP-MacARM64
|
||||
path: HorseIsleServer/HISPd/bin/arm64/MacOS/net7.0/osx-arm64/publish/
|
||||
|
||||
- name: Upload mac-x64-noobs
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: HISP-Mac-Noobs
|
||||
path: HorseIsleServer/MPN00BS/bin/x64/MacOS/net7.0/osx-x64/publish/
|
||||
|
||||
build-web:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
|
@ -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.8.2.0")]
|
||||
[assembly: AssemblyFileVersion("1.8.2.0")]
|
||||
[assembly: AssemblyVersion("1.8.3.0")]
|
||||
[assembly: AssemblyFileVersion("1.8.3.0")]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Package: hisp
|
||||
Version: 1.8.2
|
||||
Version: 1.8.3
|
||||
Depends: coreutils,systemd,mariadb-server,libsqlite3-dev,zlib1g-dev,libicu-dev,libkrb5-dev
|
||||
Maintainer: Li
|
||||
Homepage: https://islehorse.com
|
||||
|
|
|
@ -30,8 +30,8 @@ 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.8.2.0")]
|
||||
[assembly: AssemblyFileVersion("1.8.2.0")]
|
||||
[assembly: AssemblyVersion("1.8.3.0")]
|
||||
[assembly: AssemblyFileVersion("1.8.3.0")]
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -120,21 +120,26 @@ namespace HISP.Server
|
|||
}
|
||||
public static void CreateClient(object sender, SocketAsyncEventArgs e)
|
||||
{
|
||||
try{
|
||||
do
|
||||
{
|
||||
Socket eSocket = e.AcceptSocket;
|
||||
try
|
||||
{
|
||||
do
|
||||
{
|
||||
Socket eSocket = e.AcceptSocket;
|
||||
|
||||
if (GameServer.ServerSocket == null)
|
||||
return;
|
||||
if (eSocket == null)
|
||||
continue;
|
||||
return;
|
||||
if (eSocket.RemoteEndPoint == null)
|
||||
continue;
|
||||
new GameClient(eSocket);
|
||||
e.AcceptSocket = null;
|
||||
|
||||
if(GameServer.ServerSocket == null)
|
||||
return;
|
||||
} while (!GameServer.ServerSocket.AcceptAsync(e));
|
||||
}catch(ObjectDisposedException) {} // server shutdown
|
||||
e.AcceptSocket = null;
|
||||
|
||||
if (GameServer.ServerSocket == null)
|
||||
return;
|
||||
} while (!GameServer.ServerSocket.AcceptAsync(e));
|
||||
}
|
||||
catch (ObjectDisposedException) { } // server shutdown
|
||||
}
|
||||
private void timeoutTimerTick(object state)
|
||||
{
|
||||
|
|
|
@ -30,8 +30,8 @@ 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.8.2.0")]
|
||||
[assembly: AssemblyFileVersion("1.8.2.0")]
|
||||
[assembly: AssemblyVersion("1.8.3.0")]
|
||||
[assembly: AssemblyFileVersion("1.8.3.0")]
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue