From 65e7e9b3a538265a8c4ab0647285f9361060640a Mon Sep 17 00:00:00 2001
From: Li
Date: Sat, 18 Jun 2022 01:35:58 +1200
Subject: [PATCH] Test native compilation
---
.github/workflows/build.yml | 2 ++
HorseIsleServer/HISPd/Properties/AssemblyInfo.cs | 4 ++--
HorseIsleServer/HISPd/Resources/DEBIAN/control | 2 +-
HorseIsleServer/LibHISP/Properties/AssemblyInfo.cs | 4 ++--
HorseIsleServer/N00BS/Properties/AssemblyInfo.cs | 4 ++--
5 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 59ae6bd..413f871 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -35,7 +35,9 @@ jobs:
- name: Build win-x64
continue-on-error: false
run: |
+ dotnet add HISPd package Microsoft.DotNet.ILCompiler --prerelease
dotnet publish -p:PublishProfile=Win64.pubxml
+ dotnet remove HISPd package Microsoft.DotNet.ILCompiler
- name: Build win-x86
continue-on-error: false
diff --git a/HorseIsleServer/HISPd/Properties/AssemblyInfo.cs b/HorseIsleServer/HISPd/Properties/AssemblyInfo.cs
index fbaa205..710bd16 100644
--- a/HorseIsleServer/HISPd/Properties/AssemblyInfo.cs
+++ b/HorseIsleServer/HISPd/Properties/AssemblyInfo.cs
@@ -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.7.21.0")]
-[assembly: AssemblyFileVersion("1.7.21.0")]
+[assembly: AssemblyVersion("1.7.24.0")]
+[assembly: AssemblyFileVersion("1.7.24.0")]
diff --git a/HorseIsleServer/HISPd/Resources/DEBIAN/control b/HorseIsleServer/HISPd/Resources/DEBIAN/control
index 7c6017b..736a432 100644
--- a/HorseIsleServer/HISPd/Resources/DEBIAN/control
+++ b/HorseIsleServer/HISPd/Resources/DEBIAN/control
@@ -1,5 +1,5 @@
Package: hisp
-Version: 1.7.21
+Version: 1.7.24
Depends: coreutils,systemd,mariadb-server,libsqlite3-dev,zlib1g-dev,libicu-dev,libkrb5-dev
Maintainer: Li
Homepage: https://islehorse.com
diff --git a/HorseIsleServer/LibHISP/Properties/AssemblyInfo.cs b/HorseIsleServer/LibHISP/Properties/AssemblyInfo.cs
index 4f6f3a1..bd6ac44 100644
--- a/HorseIsleServer/LibHISP/Properties/AssemblyInfo.cs
+++ b/HorseIsleServer/LibHISP/Properties/AssemblyInfo.cs
@@ -30,5 +30,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.7.21.0")]
-[assembly: AssemblyFileVersion("1.7.21.0")]
+[assembly: AssemblyVersion("1.7.24.0")]
+[assembly: AssemblyFileVersion("1.7.24.0")]
diff --git a/HorseIsleServer/N00BS/Properties/AssemblyInfo.cs b/HorseIsleServer/N00BS/Properties/AssemblyInfo.cs
index a7c8ee0..55e0538 100644
--- a/HorseIsleServer/N00BS/Properties/AssemblyInfo.cs
+++ b/HorseIsleServer/N00BS/Properties/AssemblyInfo.cs
@@ -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.7.21.0")]
-[assembly: AssemblyFileVersion("1.7.21.0")]
+[assembly: AssemblyVersion("1.7.24.0")]
+[assembly: AssemblyFileVersion("1.7.24.0")]